Search squid archive

Traffic redirection to squid socket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am using squid on Openwrt(chaos calmer) and want to redirect all requests for port 80 to 3128 port of squid  so that i can filter the traffic there on squid box. I am using wpad for auto proxy and want non-proxy user's traffic for port 80 to go to squid socket which is in my case 192.168.1.1:3128

I have included
"http_port 3128 intercept" in squid.conf 
and also made rule in firewall
config redirect
        option src 'lan'
        option src_dport '80'
        option src_ip '!192.168.1.1'
        option dest 'wan'
        option dest_port '3128'
        option dest_ip '192.168.1.1'
        option proto 'tcp'
        option target 'DNAT' 

Using the above configuration i am able to full fill my purpose but if do so then users with auto proxy in their browers ‎can't access internet at all while in access.log it shows everything perfect.



Thanks in advance

--
Regards  
Yashvinder

Sent from my BlackBerry 10 smartphone.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux