[K12OSN] setup transparent proxy for thinclients webtraffic
johan.vermeulen7 at telenet.be
johan.vermeulen7 at telenet.be
Thu Jul 18 15:01:52 UTC 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20130718/f4f29223/attachment.htm>
More information about the K12OSN
mailing list