Advertisement
Guest User

Untitled

a guest
Jan 31st, 2011
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.97 KB | None | 0 0
  1. meglaw@meglaw:~$ sudo iptables -L > ip
  2. meglaw@meglaw:~$ more ip
  3. Chain INPUT (policy ACCEPT)
  4. target     prot opt source               destination
  5. fail2ban-ssh  tcp  --  anywhere             anywhere            multiport dports ssh
  6. ACCEPT     all  --  anywhere             anywhere
  7. ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
  8. ACCEPT     tcp  --  ua-83-227-159-3.cust.bredbandsbolaget.se  anywhere            tcp dpt:ssh
  9. ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ftp
  10.  
  11. Chain FORWARD (policy DROP)
  12. target     prot opt source               destination
  13. ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
  14. ACCEPT     all  --  anywhere             anywhere
  15.  
  16. Chain OUTPUT (policy ACCEPT)
  17. target     prot opt source               destination
  18.  
  19. Chain fail2ban-ssh (1 references)
  20. target     prot opt source               destination
  21. RETURN     all  --  anywhere             anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement