/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */
i have installed rhd 7.1 as getway (masquerading with succes) between 11.11.11.11/24 and the internet so the linux=getway has 2 eth : eth1 11.11.11.11/32 eth0 193.251.16.xxx/32 (to internet) with the line: #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE It's ok !!! i want know to made it a transparent proxy, with squid i have changed my script as : #iptables -t nat -A PREROUTING -s 11.11.11.11/24 -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 192.168.1.122:8080 #iptables -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE but when the pcs behind the getway retreive a web page i can't :( with #tail -f /var/log/squid/access.log I have: "1016637788.559 0 11.11.11.10 NONE/400 1056 GET / - NONE/- -" I have changed my script like this but with no succes : #iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 #iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ _______________________________________________ Masq maillist - [EMAIL PROTECTED] Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING! or email to [EMAIL PROTECTED] PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
