j***@telenet.be
2013-07-18 15:01:52 UTC
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
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