ZmEu

Iptables NICE! fior ZMeU

Mar 3rd, 2011
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.54 KB | None | 0 0
  1. iptables --list
  2. Chain INPUT (policy ACCEPT)
  3. target prot opt source destination
  4. DROP tcp -- anywhere anywhere tcp flags:!FIN,SYN,RST,ACK/SYN state NEW
  5. ACCEPT tcp -- anywhere anywhere state RELATED,ESTABLISHED
  6. ACCEPT udp -- anywhere anywhere state ESTABLISHED
  7. ACCEPT icmp -- anywhere anywhere state ESTABLISHED
  8. ACCEPT tcp -- gwf1.tmn.it anywhere tcp dpt:ssh
  9. ACCEPT tcp -- dns.tmn.it anywhere tcp dpt:ssh
  10. ACCEPT tcp -- dns2.tmn.it anywhere tcp dpt:ssh
  11. ACCEPT tcp -- 193-109-47-60-wrl.tmn.it anywhere tcp dpt:ssh
  12. ACCEPT tcp -- www2.tmn.it anywhere tcp dpt:ssh
  13. ULOG tcp -- anywhere anywhere tcp dpt:ssh ULOG copy_range 0 nlgroup 1 prefix `drop ssh: ' queue_threshold 1
  14. ACCEPT tcp -- anywhere anywhere tcp dpt:www
  15. ACCEPT tcp -- anywhere anywhere tcp dpt:https
  16. ACCEPT tcp -- anywhere anywhere tcp dpts:webmin:11000
  17. ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
  18. ACCEPT udp -- dns2.tmn.it anywhere udp dpt:sunrpc
  19. ACCEPT tcp -- dns2.tmn.it anywhere tcp dpt:sunrpc
  20. ACCEPT udp -- dns2.tmn.it anywhere udp dpt:nfs
  21. ACCEPT tcp -- dns2.tmn.it anywhere tcp dpt:nfs
  22. ACCEPT udp -- dns2.tmn.it anywhere udp dpts:32765:32768
  23. ACCEPT tcp -- dns2.tmn.it anywhere tcp dpts:32765:32768
  24. ACCEPT icmp -- 193.109.40.0/21 anywhere
  25. ACCEPT icmp -- 217.19.147.208/28 anywhere
  26. ACCEPT icmp -- 92-245-160-0-wrl.tmn.it/22 anywhere
  27. DROP icmp -- anywhere anywhere
  28. ACCEPT udp -- gwf1.tmn.it anywhere udp dpt:snmp
  29. ULOG udp -- anywhere anywhere ULOG copy_range 0 nlgroup 1 prefix `drop udp: ' queue_threshold 1
  30. DROP udp -- anywhere anywhere
  31. ULOG tcp -- anywhere anywhere ULOG copy_range 0 nlgroup 1 prefix `drop tcp: ' queue_threshold 1
  32. DROP tcp -- anywhere anywhere
  33.  
  34. Chain FORWARD (policy DROP)
  35. target prot opt source destination
  36. ACCEPT all -- anywhere anywhere
  37.  
  38. Chain OUTPUT (policy ACCEPT)
  39. target prot opt source destination
Advertisement
Add Comment
Please, Sign In to add comment