Advertisement
Guest User

Untitled

a guest
Oct 27th, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. nntp@tumba:~$ sudo iptables -L
  2. Chain INPUT (policy DROP)
  3. target prot opt source destination
  4. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  5. ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
  6. ACCEPT all -- 10.1.1.0/24 anywhere
  7. ACCEPT icmp -- 10.1.1.0/24 anywhere icmp echo-request
  8.  
  9. Chain FORWARD (policy DROP)
  10. target prot opt source destination
  11. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  12. ACCEPT tcp -- tumba anywhere tcp dpts:6881:6999
  13. ACCEPT tcp -- 10.1.1.0/24 anywhere multiport dports ftp,ssh,domain,http,pop3,https,msnp,4000,5228,ircd,6881,7070,8001,8333
  14. ACCEPT udp -- 10.1.1.0/24 anywhere multiport dports fsp,ssh,domain,http,pop3,https,msnp,4000,5228,6667,6881,7070,8001,8333
  15. ACCEPT udp -- anywhere anywhere multiport dports 6881:6999
  16. ACCEPT tcp -- anywhere anywhere multiport dports 6881:6999
  17. ACCEPT tcp -- anywhere 10.0.0.1 multiport dports 6881:6999
  18.  
  19. Chain OUTPUT (policy DROP)
  20. target prot opt source destination
  21. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  22. ACCEPT tcp -- anywhere anywhere multiport dports ftp-data,ftp,ssh,domain,http,netbios-ns,netbios-dgm,netbios-ssn,https,microsoft-ds,4000,mdns,6881,8333
  23. ACCEPT udp -- anywhere anywhere multiport dports ssh,domain,http,netbios-ns,netbios-dgm,netbios-ssn,433,microsoft-ds,6881
  24. ACCEPT udp -- anywhere anywhere multiport dports 6881:6999
  25. ACCEPT tcp -- anywhere anywhere multiport dports 6881:6999
  26. ACCEPT icmp -- anywhere anywhere icmp echo-request
  27. ACCEPT all -- 10.1.1.0/24 anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement