[Chilli] Coovachilli + squid
Siji Sunny
sijisunny at gmail.com
Mon Jul 22 08:26:54 UTC 2013
Hi,
>
> I done this on my captive portal project, and it works perfectly.
> Currently I m in professionnal travel until next saturday. So I contact you
> next week...
>
> Cheers.
>
> Crox
> Le 22 juil. 2013 02:58, "Lnx" <lnx.consultant at gmail.com> a écrit :
>
> Hi list,
>>
>> Has anyone successfully configured coovachilli with squid?
>> I'm trying to run coovachilli to run transparent proxy but internet isn't
>> working whenever i run squid.
>>
>> Can someone please share their success.
>>
>
It may vary with your set-up.Below the steps which we enabled CoovaChilli
with Squid.
Add Post-auth proxy settings in chilli config file
# Post-Auth proxy settings
HS_POSTAUTH_PROXY=192.168.1.150
HS_POSTAUTH_PROXYPORT=3128
Add the below parameter in squid.conf file -
# Squid normally listens to port 3128
#http_port 3128
http_port 192.168.1.150:3128 transparent
And define the proper IP table entry.Below my IP table entry for chilli and
squid
#basic
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
sysctl -p
#Squid
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to
192.168.1.150:3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128
>>
>> Thank you
>> _______________________________________________
>> Chilli mailing list
>> Chilli at coova.org
>> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>>
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
>
--
Siji Sunny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130722/563cc097/attachment.html>
More information about the Chilli
mailing list