Guest User

Untitled

a guest
Jun 18th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. # iptables -t nat -A PREROUTING -s 10.3.0.0/255.255.255.0 -i br0
  2. # iptables -t nat -A POSTROUTING -s 10.3.0.0/255.255.255.0 -j MASQUERADE
  3. # iptables -t nat -A PREROUTING -s 10.3.0.0/255.255.255.0 -i tun21
  4. # iptables -t nat -A PREROUTING -s 172.16.220.0/255.255.255.224 -i tun21
  5. # iptables -t nat -A POSTROUTING -s 172.16.220.0/255.255.255.224 -j MASQUERADE
  6. # iptables --append FORWARD --src 10.3.0.0/24 --dst 10.1.100.0/24 --jump ACCEPT
Add Comment
Please, Sign In to add comment