I am using Ubuntu, with Squid (Ver.2.7 STABLE 9) and Dansguardian to provide internet filtering. However I am requring the use of Squid in transparent mode so that users dont have to specify port numbers etc. By following various guides I can get the web browser to work on port 80 (But it has to be manually specified?) If i select no proxy - Nothing works ?
The following setup has been followed:
Changed the squid config to: http_port 3128 transparent
Changed the IPtables: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
Can somebody help me?
For a true transparent proxy you need to setup your proxy server as a gateway on your pcs network, here is a tutorial:
Linux: Setup a transparent proxy with Squid in three easy steps