Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. gbn-root-22:05:28 ~ -> iptables -L
  2. Chain INPUT (policy DROP)
  3. target prot opt source destination
  4. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpt:121212
  5. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpt:smtp
  6. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpt:imaps
  7. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpt:https
  8. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpt:sip
  9. ACCEPT udp -- !192.168.0.0/24 anywhere udp dpt:sip
  10. ACCEPT udp -- !192.168.0.0/24 anywhere udp dpt:iax
  11. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpt:iax
  12. ACCEPT udp -- !192.168.0.0/24 anywhere udp dpts:10000:20000
  13. ACCEPT tcp -- !192.168.0.0/24 anywhere tcp dpts:35000:35005
  14. ACCEPT icmp -- anywhere anywhere
  15. ACCEPT all -- anywhere anywhere
  16. ACCEPT all -- 192.168.0.0/24 anywhere
  17. ACCEPT all -- anywhere anywhere
  18. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  19.  
  20. Chain FORWARD (policy ACCEPT)
  21. target prot opt source destination
  22. ACCEPT all -- anywhere anywhere state NEW,RELATED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement