setup transparent proxy for thinclients webtraffic
[email protected] Thu, 18 Jul 2013 17:01:52 +0200 (CEST)
| Newsgroups | gmane.linux.redhat.k12osn |
|---|---|
| Message-ID | <[email protected]> |
Dear All, I'm setting up a K12Linux server, that also acts as a router/Firewall for some laptops and workstations. So I 've set up a transparent proxy, Squid, for all traffic passing through the box, in order to monitor and control the network traffic. But I can't find out how to also reroute al the traffic from the thinclients to Squid as well. Does anybody know how to do that? Thanks for any advice. Greetings, J. iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 10.0.0.1:3128 - See more at: http://www.broexperts.com/2013/03/squid-as-transparent-proxy-on-centos-6-4/#sthash.ZGWLthug.dpuf iptables - t nat - A PREROUTING - i eth1 - p tcp -- dport 80 - j DNAT -- to 10.0 . 0.1 : 3128 iptables - t nat - A PREROUTING - i eth0 - p tcp -- dport 80 - j REDIRECT -- to - port 3128 iptables - I INPUT - s 10.0 . 0.0 / 8 - p tcp -- dport 3128 - j ACCEPT - See more at: http://www.broexperts.com/2013/03/squid-as-transparent-proxy-on-centos-6-4/#sthash.ZGWLthug.dpuf iptables - t nat - A PREROUTING - i eth1 - p tcp -- dport 80 - j DNAT -- to 10.0 . 0.1 : 3128 iptables - t nat - A PREROUTING - i eth0 - p tcp -- dport 80 - j REDIRECT -- to - port 3128 iptables - I INPUT - s 10.0 . 0.0 / 8 - p tcp -- dport 3128 - j ACCEPT - See more at: http://www.broexperts.com/2013/03/squid-as-transparent-proxy-on-centos-6-4/#sthash.ZGWLthug.dpuf _______________________________________________ K12OSN mailing list [email protected] https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>