Prva verzija za buster.
[iptables-cn.git] / squid-redirect
1 #!/bin/sh
2 # redirect tcp/80 traffic (eth1 LAN -> eth0 WAN) to local port 3128
3 # (Squid)
4
5 iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 \
6     -j REDIRECT --to-port 3128