Advertisement
Guest User

Untitled

a guest
Oct 10th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. brian@bison:~$ sudo iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
  5. fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
  6. ACCEPT all -- anywhere anywhere
  7. REJECT all -- anywhere 127.0.0.0/8 reject-with icmp-port-unreachable
  8. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  9. ACCEPT tcp -- anywhere anywhere tcp dpt:http
  10. ACCEPT tcp -- anywhere anywhere tcp dpt:https
  11. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
  12. ACCEPT icmp -- anywhere anywhere icmp echo-request
  13. ACCEPT tcp -- anywhere anywhere tcp dpt:19840
  14. LOG all -- anywhere anywhere limit: avg 5/min burst 5 LOG level debug prefix "iptables denied: "
  15. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  16. DROP all -- 200.159.40.31 anywhere
  17.  
  18. Chain FORWARD (policy ACCEPT)
  19. target prot opt source destination
  20. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  21.  
  22. Chain OUTPUT (policy ACCEPT)
  23. target prot opt source destination
  24. ACCEPT all -- anywhere anywhere
  25.  
  26. Chain fail2ban-ssh (2 references)
  27. target prot opt source destination
  28. RETURN all -- anywhere anywhere
  29. RETURN all -- anywhere anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement