Advertisement
Guest User

Untitled

a guest
Apr 10th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. cat /etc/network/iptables.rules
  2. *nat
  3. :PREROUTING ACCEPT [0:0]
  4. :INPUT ACCEPT [0:0]
  5. :OUTPUT ACCEPT [0:0]
  6. :POSTROUTING ACCEPT [0:0]
  7. -A POSTROUTING -s 172.16.0.1/24 ! -d 172.16.0.1/24 -j MASQUERADE
  8. COMMIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement