Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iptables -t nat -A PREROUTING -s 192.168.2.1 -p tcp --dport 80 -j ACCEPT
- iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128
- iptables -t nat -A POSTROUTING -j MASQUERADE
- iptables -t mangle -A PREROUTING -p tcp --dport 3128 -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement