Advertisement
ak47suk1

iptables for vpn example

Jun 16th, 2011
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.72 KB | None | 0 0
  1. # Generated by iptables-save v1.4.4 on Sat May 28 13:29:42 2011
  2. *mangle
  3. :PREROUTING ACCEPT [712:62821]
  4. :INPUT ACCEPT [712:62821]
  5. :FORWARD ACCEPT [0:0]
  6. :OUTPUT ACCEPT [494:74058]
  7. :POSTROUTING ACCEPT [494:74058]
  8. COMMIT
  9. # Completed on Sat May 28 13:29:42 2011
  10. # Generated by iptables-save v1.4.4 on Sat May 28 13:29:42 2011
  11. *filter
  12. :INPUT ACCEPT [712:62821]
  13. :FORWARD ACCEPT [0:0]
  14. :OUTPUT ACCEPT [494:74058]
  15. COMMIT
  16. # Completed on Sat May 28 13:29:42 2011
  17. # Generated by iptables-save v1.4.4 on Sat May 28 13:29:42 2011
  18. *nat
  19. :PREROUTING ACCEPT [10:504]
  20. :POSTROUTING ACCEPT [3:213]
  21. :OUTPUT ACCEPT [3:213]
  22. -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source 123.456.789.123
  23. COMMIT
  24. # Completed on Sat May 28 13:29:42 2011
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement