Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1. Baddie ~ # ./fw
  2. Baddie ~ #
  3. Baddie ~ # iptables -L
  4. Chain INPUT (policy DROP)
  5. target prot opt source destination
  6. icmp_packets icmp -- anywhere anywhere
  7. syn-flood tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN
  8. ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
  9. ACCEPT all -- anywhere anywhere
  10. ACCEPT tcp -- sealip02.ericsson.net anywhere tcp spts:login:65535 dpt:ssh state NEW,ESTABLISHED
  11. ACCEPT tcp -- anywhere anywhere tcp dpt:smtp state NEW,ESTABLISHED
  12. ACCEPT tcp -- anywhere anywhere tcp dpt:http state NEW,ESTABLISHED
  13. ACCEPT tcp -- anywhere anywhere tcp dpt:https state NEW,ESTABLISHED
  14. ACCEPT tcp -- anywhere anywhere tcp dpt:imap state NEW,ESTABLISHED
  15. ACCEPT tcp -- anywhere anywhere tcp dpt:imaps state NEW,ESTABLISHED
  16. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp dpt:8082 state NEW,ESTABLISHED
  17. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp dpt:10001 state NEW,ESTABLISHED
  18. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp dpt:10002 state NEW,ESTABLISHED
  19. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp dpt:5556 state NEW,ESTABLISHED
  20.  
  21. Chain FORWARD (policy DROP)
  22. target prot opt source destination
  23.  
  24. Chain OUTPUT (policy DROP)
  25. target prot opt source destination
  26. ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED
  27. ACCEPT all -- anywhere anywhere
  28. ACCEPT tcp -- anywhere anywhere tcp dpt:domain state NEW,ESTABLISHED
  29. ACCEPT tcp -- anywhere anywhere tcp spt:smtp state ESTABLISHED
  30. ACCEPT tcp -- anywhere anywhere tcp spt:http state ESTABLISHED
  31. ACCEPT tcp -- anywhere anywhere tcp spt:https state ESTABLISHED
  32. ACCEPT tcp -- anywhere anywhere tcp spt:imap state ESTABLISHED
  33. ACCEPT tcp -- anywhere anywhere tcp spt:imaps state ESTABLISHED
  34. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp spt:8082 state ESTABLISHED
  35. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp spt:10001 state ESTABLISHED
  36. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp spt:10002 state ESTABLISHED
  37. ACCEPT udp -- ip-212-117-180-149.server.lu anywhere udp spt:5556 state ESTABLISHED
  38.  
  39. Chain icmp_packets (1 references)
  40. target prot opt source destination
  41. ACCEPT icmp -- anywhere anywhere icmp echo-request
  42. ACCEPT icmp -- anywhere anywhere icmp time-exceeded
  43.  
  44. Chain syn-flood (1 references)
  45. target prot opt source destination
  46. RETURN all -- anywhere anywhere limit: avg 50/sec burst 50
  47. DROP all -- anywhere anywhere
  48. Baddie ~ #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement