Guest User

iptables-save -c

a guest
Sep 4th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. anubis:~# iptables-save -c
  2. # Generated by iptables-save v1.4.8 on Thu Sep 4 15:03:44 2014
  3. *nat
  4. :PREROUTING ACCEPT [2961:331240]
  5. :POSTROUTING ACCEPT [1854:116108]
  6. :OUTPUT ACCEPT [1725:107446]
  7. [0:0] -A PREROUTING -i eth1 -p tcp -m tcp --dport 81 -j DNAT --to-destination 192.168.16.8:3000
  8. COMMIT
  9. # Completed on Thu Sep 4 15:03:44 2014
  10. # Generated by iptables-save v1.4.8 on Thu Sep 4 15:03:44 2014
  11. *mangle
  12. :PREROUTING ACCEPT [119704:83910539]
  13. :INPUT ACCEPT [118353:83643501]
  14. :FORWARD ACCEPT [521:35019]
  15. :OUTPUT ACCEPT [108477:88939116]
  16. :POSTROUTING ACCEPT [109000:88974287]
  17. [0:0] -A FORWARD -o ppp0 -p tcp -m tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:65495 -j TCPMSS --clamp-mss-to-pmtu
  18. COMMIT
  19. # Completed on Thu Sep 4 15:03:44 2014
  20. # Generated by iptables-save v1.4.8 on Thu Sep 4 15:03:44 2014
  21. *filter
  22. :INPUT ACCEPT [100355:69639749]
  23. :FORWARD ACCEPT [421:28244]
  24. :OUTPUT ACCEPT [93621:74543725]
  25. :fail2ban-apache - [0:0]
  26. :fail2ban-apache-overflows - [0:0]
  27. :fail2ban-ssh - [0:0]
  28. :fail2ban-ssh-ddos - [0:0]
  29. [519:87526] -A INPUT -p tcp -m multiport --dports 80,443 -j fail2ban-apache
  30. [129:9164] -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh
  31. [519:87526] -A INPUT -p tcp -m multiport --dports 80,443 -j fail2ban-apache-overflows
  32. [129:9164] -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh-ddos
  33. [0:0] -A INPUT -i eth1 -p tcp -m state --state NEW -m tcp --dport 81 -j ACCEPT
  34. [0:0] -A FORWARD -i eth1 -p tcp -m tcp --dport 81 -j ACCEPT
  35. [519:87526] -A fail2ban-apache -j RETURN
  36. [519:87526] -A fail2ban-apache-overflows -j RETURN
  37. [129:9164] -A fail2ban-ssh -j RETURN
  38. [129:9164] -A fail2ban-ssh-ddos -j RETURN
  39. COMMIT
Advertisement
Add Comment
Please, Sign In to add comment