Advertisement
Guest User

Untitled

a guest
Jan 16th, 2023
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. # Generated by iptables-save v1.8.7 on Mon Jan 16 15:09:42 2023
  2. *filter
  3. :INPUT DROP [2667:210175]
  4. :FORWARD ACCEPT [0:0]
  5. :OUTPUT ACCEPT [311079:424079249]
  6. -A INPUT -i lo -j ACCEPT
  7. -A INPUT -p icmp -m icmp --icmp-type 0 -j ACCEPT
  8. -A INPUT -p icmp -m icmp --icmp-type 3 -j ACCEPT
  9. -A INPUT -p icmp -m icmp --icmp-type 11 -j ACCEPT
  10. -A INPUT -p icmp -m icmp --icmp-type 8 -j ACCEPT
  11. -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  12. -A INPUT -m state --state INVALID -j DROP
  13. -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -j DROP
  14. -A INPUT -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -j DROP
  15. -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
  16. -A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
  17. -A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
  18. -A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
  19. -A INPUT -p tcp -m tcp --dport 465 -j ACCEPT
  20. -A INPUT -p tcp -m tcp --dport 587 -j ACCEPT
  21. -A INPUT -p tcp -m tcp --dport 993 -j ACCEPT
  22. -A INPUT -p tcp -m tcp --dport 995 -j ACCEPT
  23. -A INPUT -p tcp -m tcp --dport 4190 -j ACCEPT
  24. -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
  25. -A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
  26. -A INPUT -p udp -m udp --dport 68 -j ACCEPT
  27. -A INPUT -p udp -m udp --dport 323 -j ACCEPT
  28. -A INPUT -p udp -m udp --dport 53 -j ACCEPT
  29. COMMIT
  30. # Completed on Mon Jan 16 15:09:42 2023
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement