Advertisement
Guest User

centos

a guest
Jan 18th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. [root@localhost network-scripts]# iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  5. ACCEPT icmp -- anywhere anywhere icmp any
  6. ACCEPT tcp -- anywhere 75-149-115-49-Memphis.hfc.comcastbusiness.net tcp dpt:ssh
  7. ACCEPT all -- anywhere anywhere
  8. ACCEPT all -- anywhere anywhere
  9. DROP tcp -- anywhere anywhere tcp dpt:smtp
  10. ACCEPT all -- anywhere anywhere
  11. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  12.  
  13. Chain FORWARD (policy ACCEPT)
  14. target prot opt source destination
  15.  
  16. Chain OUTPUT (policy ACCEPT)
  17. target prot opt source destination
  18. [root@localhost network-scripts]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement