Search squid archive

Re: squid transparent proxy still not working

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

 



> and this is my iptables for squid transparent
> iptables -t nat -A PREROUTING -i eth0 -s 192.168.10.10
> -p tcp --dport 80 -j ACCEPT

> iptables -t nat -A PREROUTING -i eth1 -s 192.168.10/24
> -p tcp --dport 80 -j REDIRECT --to-port 8080

what is this ? -s 192.168.10/24 it should be -s 192.168.10.0/24

> iptables -t filter -A FORWARD -i eth1 -s 192.168.10/24
> -p tcp --dport 80 -j REJECT

again , what is this ? -s 192.168.10/24 it should be s 192.168.10.0/24
and i think -j ACCEPT instaed of j REJECT.

So, here are the rules again.

iptables -t nat -A PREROUTING -i eth1 -s 192.168.10.0/24
 -p tcp --dport 80 -j REDIRECT --to-port 8080

 iptables -t filter -A FORWARD -i eth1 -s 192.168.10.0/24
 -p tcp --dport 80 -j ACCEPT

iptables -A INPUT -i eth1 -d 192.168.10.10 -p tcp -s
 192.168.101.0/24 --dport 8080 -j ACCEPT

try below URL,

http://www.squid-cache.org/mail-archive/squid-users/200708/0232.html




>
> what wrong with my squid.conf or iptables rules?
> why transparent proxy not working, & why client must
> setting using proxy in their browser if the want
> using proxy
>
> thaks
>
> regards
> ason
> Cah Kopeng
> Lereng Utara Gunung Merbabu
>
>
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page.
> http://www.yahoo.com/r/hs
>



-- 
Thank you
Indunil Jayasooriya

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

  Powered by Linux