Advertisement
trupsalms

ip rule1

Jul 20th, 2017
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. iptables -t nat -A PREROUTING -i tun1 -p tcp --dport 80 -j DNAT --to 172.8.0.1:3128
  2.  
  3. iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement