On Fri, 2006-01-20 at 18:56, s paul wrote:
hello linux fans,
i have a linux machine with redHat 9 installed with squid proxy working as SERVER and the CLIENT linux machines use this proxy server to connect to internet.
But i would like the CLIENT machines to directly connect to Internet without any proxy settings in web -browser.
i used the command netconfig and gave the following.
gateway : Servers loacal ip
DNS server : ISP's dns server ip
but after all these settings, i was not able to connect to internet
please HELP, if u could.
Use squid in intercept caching mode. Your squid.conf should contain:
httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on http_accel_single_host off
Then,redirect traffic from port 80 to port 3128 (default squid port) using iptables.
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport -j REDIRECT --to-port 3128
(Assuming your internal network is on eth0)
Reconfigure squid and it should work without configuring the browser.
Regards, NMK. ----------------------------------------------------------------------- A good plan today is better than a perfect plan tomorrow. -- Patton