Hello
Please provide me some more details like are you using your squid server as a router too. If yes then follow these steps:
First you need to setup your temporary squid server to run on different port what you are running on your permanent squid now.
Add an entry in your temporary squid something like this: http_port 8080 transparent
Change the port number if your permanent squid is using this port.
The second step you need is to configure your firewall to to redirect all the IP traffic on your network to be redirected to your squid port.
The command is: iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -s 192.168.1.0/24 -j REDIRECT --to-port=3128
Here you can change the NIC interface ID to whatever your system is using & secondly the Subnet. For e.g. if you need 192.168.3.0/24 subnet to be redirected through your transparent proxy then replace 192.168.1.0/24 with 192.168.3.0/24.
Let me know if you have any more issues after following these steps.
Good Luck
Last edited by sushantchawla2005; 06-24-2009 at 02:56 AM.
|