Roger, > 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 assume that you meant 'iptables' instead of 'iptalbes'? > 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. Have you adjusted the squid.conf file appropriately? i.e you need to have the lines httpd_accel_port 80 httpd_accel_host virtual httpd_accel_single_host off httpd_accel_uses_host_header on See http://squid.visolve.com/squid24s1/httpd_accelerator.htm and/or the relevant FAQ on the www.squid-cache.org website for more info. cheers, Anth -- "I'm spendin' all my time drivin' round fakin' clever" - Machine Gun Fellatio - Unsent Letter -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list