Guest User

Untitled

a guest
Sep 17th, 2015
26
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@chef ~]# iptables -L
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. ACCEPT udp -- anywhere anywhere udp dpt:domain
  5. ACCEPT tcp -- anywhere anywhere tcp dpt:domain
  6. ACCEPT udp -- anywhere anywhere udp dpt:bootps
  7. ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
  8. ACCEPT udp -- anywhere anywhere udp dpt:domain
  9. ACCEPT tcp -- anywhere anywhere tcp dpt:domain
  10. ACCEPT udp -- anywhere anywhere udp dpt:bootps
  11. ACCEPT tcp -- anywhere anywhere tcp dpt:bootps
  12. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  13. ACCEPT icmp -- anywhere anywhere
  14. ACCEPT all -- anywhere anywhere
  15. ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
  16. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  17. ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
  18. ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
  19.  
  20. Chain FORWARD (policy ACCEPT)
  21. target prot opt source destination
  22. ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
  23. ACCEPT all -- 192.168.122.0/24 anywhere
  24. ACCEPT all -- anywhere anywhere
  25. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  26. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  27. ACCEPT all -- anywhere 192.168.122.0/24 state RELATED,ESTABLISHED
  28. ACCEPT all -- 192.168.122.0/24 anywhere
  29. ACCEPT all -- anywhere anywhere
  30. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  31. REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
  32. REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
  33.  
  34. Chain OUTPUT (policy ACCEPT)
  35. target prot opt source destination
RAW Paste Data