Advertisement
Guest User

Untitled

a guest
Sep 19th, 2014
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.46 KB | None | 0 0
  1. Chain INPUT (policy DROP)
  2. target     prot opt source               destination
  3. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh ctstate NEW,ESTABLISHED
  4. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http ctstate NEW,ESTABLISHED
  5. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https ctstate NEW,ESTABLISHED
  6. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:ssh ctstate ESTABLISHED
  7. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:https ctstate ESTABLISHED
  8. ACCEPT     icmp --  anywhere             anywhere             icmp echo-reply
  9. ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
  10. ACCEPT     all  --  anywhere             anywhere
  11. ACCEPT     udp  --  anywhere             anywhere             udp spt:domain
  12. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:smtp ctstate NEW,ESTABLISHED
  13. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:imap ctstate NEW,ESTABLISHED
  14. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:imaps ctstate NEW,ESTABLISHED
  15. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:pop3 ctstate NEW,ESTABLISHED
  16. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:pop3s ctstate NEW,ESTABLISHED
  17. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http limit: avg 25/min burst 100
  18. LOGGING    all  --  anywhere             anywhere
  19. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:smtp ctstate NEW,ESTABLISHED
  20. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:smtp
  21.  
  22. Chain FORWARD (policy DROP)
  23. target     prot opt source               destination
  24. ACCEPT     all  --  anywhere             anywhere
  25.  
  26. Chain OUTPUT (policy DROP)
  27. target     prot opt source               destination
  28. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:ssh ctstate ESTABLISHED
  29. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:http ctstate ESTABLISHED
  30. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:https ctstate ESTABLISHED
  31. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:ssh ctstate NEW,ESTABLISHED
  32. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:https ctstate NEW,ESTABLISHED
  33. ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
  34. ACCEPT     icmp --  anywhere             anywhere             icmp echo-reply
  35. ACCEPT     all  --  anywhere             anywhere
  36. ACCEPT     udp  --  anywhere             anywhere             udp dpt:domain
  37. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:smtp ctstate ESTABLISHED
  38. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:imap ctstate ESTABLISHED
  39. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:imaps ctstate ESTABLISHED
  40. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:pop3 ctstate ESTABLISHED
  41. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:pop3s ctstate ESTABLISHED
  42. ACCEPT     tcp  --  anywhere             anywhere             tcp spt:smtp ctstate ESTABLISHED
  43.  
  44. Chain LOGGING (1 references)
  45. target     prot opt source               destination
  46. LOG        all  --  anywhere             anywhere             limit: avg 2/min burst 5 LOG level debug prefix "IPTables Packet Dropped: "
  47. DROP       all  --  anywhere             anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement