LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid Transparent Proxy (https://www.linuxquestions.org/questions/linux-server-73/squid-transparent-proxy-568007/)

SBN 07-10-2007 12:21 AM

Squid Transparent Proxy
 
Hey if you have setup squid transparent proxy how do you know if its working? or do you still have to configure something like the browsers on the clients computer for it to work?

bathory 07-10-2007 02:25 AM

If you're using transparent proxy there is no need to configure anything in the browsers. You just redirect the http traffic (i.e. the traffic to port 80) to the port squid is listening.

SBN 07-10-2007 08:52 PM

How do you redirect http traffic? is it through firewall? what if i dont have a firewall?

jusupov 07-10-2007 10:08 PM

If you are talking about Proxy,at this point Squid, you must have it installed in your LAN. Then on your clients just point to that Squid server.

Now on the Squid server you will need to redirect all port 80 traffic to the squid port.

SBN 07-11-2007 12:17 AM

how do you do this

Quote:

redirect all port 80 traffic to the squid port

bathory 07-11-2007 01:42 AM

You can use the following iptables rule:
Code:

/usr/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
assuming that squid is listening on eth0 on port 3128. There is no need to configure anything on the client side.

SBN 07-11-2007 03:54 AM

oh so you use firewalls...:) ok now everything is clear .... thank you :D


All times are GMT -5. The time now is 09:25 PM.