Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. vsrv01:/etc/scripts# iptables-save
  2. # Generated by iptables-save v1.4.2 on Wed May 18 21:33:42 2011
  3. *mangle
  4. :PREROUTING ACCEPT [20638498:8979175471]
  5. :INPUT ACCEPT [18301982:7348669125]
  6. :FORWARD ACCEPT [2336516:1630506346]
  7. :OUTPUT ACCEPT [19259402:8948309154]
  8. :POSTROUTING ACCEPT [21595907:10578814046]
  9. COMMIT
  10. # Completed on Wed May 18 21:33:42 2011
  11. # Generated by iptables-save v1.4.2 on Wed May 18 21:33:42 2011
  12. *filter
  13. :INPUT ACCEPT [18301982:7348669125]
  14. :FORWARD ACCEPT [2336507:1630505914]
  15. :OUTPUT ACCEPT [19259393:8948308140]
  16. -A FORWARD -p tcp -m state --state NEW,RELATED,ESTABLISHED -m tcp --dport 25 -j ACCEPT
  17. COMMIT
  18. # Completed on Wed May 18 21:33:42 2011
  19. # Generated by iptables-save v1.4.2 on Wed May 18 21:33:42 2011
  20. *nat
  21. :PREROUTING ACCEPT [403432:24065554]
  22. :POSTROUTING ACCEPT [4214873:345328970]
  23. :OUTPUT ACCEPT [4211561:345129563]
  24. -A PREROUTING -p tcp -m tcp --dport 25 -j DNAT --to-destination 172.16.99.10
  25. -A PREROUTING -p tcp -m tcp --dport 25 -j DNAT --to-destination 172.16.99.10
  26. -A POSTROUTING -s 172.16.99.10/32 -o venet0 -j MASQUERADE
  27. -A POSTROUTING -s 172.16.99.0/24 -o venet0 -j MASQUERADE
  28. COMMIT
  29. # Completed on Wed May 18 21:33:42 2011
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement