LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Passing traffic to Squid using Iptables (https://www.linuxquestions.org/questions/linux-networking-3/passing-traffic-to-squid-using-iptables-751003/)

Yahooguntu 08-28-2009 09:33 PM

Passing traffic to Squid using Iptables
 
I have a rather complex gateway that I am trying to set up with iptables. I can use iptables fairly well, but I don't know how to pass incoming HTTP requests to Squid. Squid would then need to be able to pass it on to one of two internal networks. Would I just redirect incoming HTTP requests to port 3129 (Squid's default) and allow all requests to and from port 3129 on the internal network? Also, would it be more efficient for Squid to just listen on port 80 instead of port 3129?

Thank you for your time.

GlennsPref 08-29-2009 12:57 AM

Hi, I also use iptables and squid, but just for my own bandwidth savings.

In the past I have found this page useful and current....

http://www.linuxhomenetworking.com/w...ess_with_Squid

I thought the default port was 3128, but I guess you can use what you like as long as the rest of the system knows about it.

see how you go, best wishes, Glenn


All times are GMT -5. The time now is 09:58 AM.