Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have configured squid to support transparency using this command

./configure --enable-ipfw-transparent --enable-ssl

I have started squid, is there any other configuration that i need to add so that all web requests do not bypass the proxy

I have already setup the squid machine to have transparent proxying on 176.16.1.197:8000

The machine I have setup for squid is not running as the gateway to the internet, How do I setup so that all http requests go through to squid?

Do i have to use IP tables? where do i setup the IP tables? on the gateway? or squid machine?

share|improve this question

1 Answer 1

You need to configure squid.conf to enable the transparent proxy mode. Then, you need to configure your firewall to redirect all web traffic through the proxy. You can look up the information elsewhere.

share|improve this answer
    
What if I have not installed the squid machine as the gateway? How can i get only the web requests from port 80 –  Gatura Feb 10 '10 at 12:17
    
You need to make the firewall changes on your gateway. I have such a configuration. My router redirects traffic to the squid proxy which is on another machine. The only web traffic it allows thru is the one from the squid proxy. –  sybreon Feb 11 '10 at 7:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.