Hi. I am working on a transparent proxy project now. The softs I using are the iptables (NAT) coming with RH8, squid 2.5-stable and RH8. The configureation I made are the following.
First: SNAT all the request from the intranet to internet, for example: iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -j SNAT --to 2.2.2.2 Second: Redirect the http request to squid listening port (3128) iptalbes -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128. I think it should work. but after I assigned the 2.2.2.2 as the default gateway to clients by DHCP . The clients can't surf internet at all, the other services are ok. The error message they get is "While trying to retrieve the URL: / The following error was encountered: Invalid URL " ......BLA BLA. It seems that iptables tansfers only "/" to squid on behalf of clients requests instead of the real url the clients issued. Any suggestion??? Thanks so much R -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list