Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have checked that this question has not been dealt with before on the latest kernel version of Linux.
I am using Ubuntu Linux 8.04.1, with kernel 2.6.24-16-server and Squid version 2.6.STABLE18. I have configured squid to work in transparent mode by using the, 'transparent' option after the 'http_port 3128' command in squid.conf.
When I set the proxy settins in my browser, squid works fine, but if I remove them, it does not work transparently. I have read about doing forwarding in the firewall, and I have set the following parameters there:
I stopped squid and guess what? The client computers were still browsing. The squid box is also my gateway to the Internet. I want to try your code now, since it has the '-t nat' command which was not in Tinkster's code.
Yes, NAT is working fine. Like stated above, even without squid, the client PC's are able to browse. However, I would like squid to work in transparent mode so that I do not have to configure their browsers for proxy settings.
It seems squid is not working in transparent mode, even though my squid.conf has the 'transparent' option added to the 'http_port' command. When I enter the proxy settings in the browser, then squid works fine because I can see entries in the access.log file.
But I guess even if your squid is not working in transparent mode, if squid id turned off, clients should not be able to access net. If they are able to do that, you need to sort out this issue first. And if the squid is your gateway to internet for clients, they should not go to internet if it is off.
You may want to look into this link for transparent squid configuration.