Advertisement
synthnassizer

Untitled

Jul 31st, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. root@debian:~# iptables-save
  2. # Generated by iptables-save v1.4.14 on Fri Jul 31 18:14:59 2015
  3. *mangle
  4. :PREROUTING ACCEPT [1767060:502362621]
  5. :INPUT ACCEPT [1767060:502362621]
  6. :FORWARD ACCEPT [0:0]
  7. :OUTPUT ACCEPT [1554868:327234679]
  8. :POSTROUTING ACCEPT [1554868:327234679]
  9. COMMIT
  10. # Completed on Fri Jul 31 18:14:59 2015
  11. # Generated by iptables-save v1.4.14 on Fri Jul 31 18:14:59 2015
  12. *nat
  13. :PREROUTING ACCEPT [139289:7773596]
  14. :INPUT ACCEPT [63727:3815588]
  15. :OUTPUT ACCEPT [92304:6434023]
  16. :POSTROUTING ACCEPT [92304:6434023]
  17. COMMIT
  18. # Completed on Fri Jul 31 18:14:59 2015
  19. # Generated by iptables-save v1.4.14 on Fri Jul 31 18:14:59 2015
  20. *filter
  21. :INPUT DROP [76097:3982210]
  22. :FORWARD DROP [0:0]
  23. :OUTPUT ACCEPT [142584:8821820]
  24. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  25. -A INPUT -i lo -j ACCEPT
  26. -A INPUT -p tcp -m tcp --dport 51238 -m state --state NEW -j ACCEPT
  27. -A INPUT -p tcp -m tcp --dport 51239 -m state --state NEW -j ACCEPT
  28. -A INPUT -p tcp -m tcp --dport 23432 -m state --state NEW -j ACCEPT
  29. -A INPUT -p tcp -m tcp --dport 38000 -m state --state NEW -j ACCEPT
  30. -A INPUT -p tcp -m tcp --dport 80 -m state --state NEW -j ACCEPT
  31. -A INPUT -p tcp -m tcp --dport 443 -m state --state NEW -j ACCEPT
  32. -A INPUT -m limit --limit 3/sec --limit-burst 3 -j LOG --log-prefix "FW_INPUT: "
  33. -A INPUT -p icmp -m icmp --icmp-type any -j DROP
  34. -A FORWARD -p icmp -m icmp --icmp-type any -j DROP
  35. -A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  36. -A OUTPUT -p icmp -m icmp --icmp-type any -j DROP
  37. COMMIT
  38. # Completed on Fri Jul 31 18:14:59 2015
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement