Advertisement
Guest User

iptables

a guest
Feb 27th, 2013
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.92 KB | None | 0 0
  1. # In response to http://serverfault.com/questions/482992/iptables-tcp-handshake-on-centos-6-0/483003#comment537538_483003
  2. # Generated by iptables-save v1.4.7 on Wed Feb 27 17:24:45 2013
  3. *mangle
  4. :PREROUTING ACCEPT [7:364]
  5. :INPUT ACCEPT [7:364]
  6. :FORWARD ACCEPT [0:0]
  7. :OUTPUT ACCEPT [7:876]
  8. :POSTROUTING ACCEPT [7:876]
  9. COMMIT
  10. # Completed on Wed Feb 27 17:24:45 2013
  11. # Generated by iptables-save v1.4.7 on Wed Feb 27 17:24:45 2013
  12. *filter
  13. :INPUT DROP [0:0]
  14. :FORWARD DROP [0:0]
  15. :OUTPUT ACCEPT [2:328]
  16. -A INPUT -i lo -j ACCEPT
  17. -A INPUT -p tcp -m multiport --dports 22,80,443 -m state --state NEW,ESTABLISHED -j ACCEPT
  18. -A INPUT -p udp -m udp --sport 53 --dport 1024:65535 -j ACCEPT
  19. COMMIT
  20. # Completed on Wed Feb 27 17:24:45 2013
  21. # Generated by iptables-save v1.4.7 on Wed Feb 27 17:24:45 2013
  22. *nat
  23. :PREROUTING ACCEPT [0:0]
  24. :POSTROUTING ACCEPT [0:0]
  25. :OUTPUT ACCEPT [0:0]
  26. COMMIT
  27. # Completed on Wed Feb 27 17:24:45 2013
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement