Guest User

Untitled

a guest
Nov 20th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. iptables -t nat -A POSTROUTING -s 172.18.0.0/24 -o tun0 -j SNAT --to-source 10.8.0.10
  2. iptables -t nat -A POSTROUTING -d 172.18.0.50/32 -o eth1 -j SNAT --to-source 172.18.0.100
  3.  
  4. post-up ip rule add from 172.18.0.0/16 table 200
  5. post-up ip route add 192.168.11.222 via 172.18.0.100 table 200
Add Comment
Please, Sign In to add comment