Advertisement
mbazs

NFT rules

Mar 31st, 2021
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. table inet filter {
  2. chain input {
  3. type filter hook input priority 0; policy accept;
  4. iif "lo" accept
  5. ip protocol icmp icmp type echo-request limit rate over 10/second burst 4 packets drop
  6. ip6 nexthdr ipv6-icmp icmpv6 type echo-request limit rate over 10/second burst 4 packets drop
  7. ct state established,related accept
  8. ip6 nexthdr ipv6-icmp icmpv6 type { destination-unreachable, packet-too-big, time-exceeded, parameter-problem, mld-listener-query, mld-listener-report, mld-listener-done, nd-router-solicit, nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert, ind-neighbor-solicit, ind-neighbor-advert, mld2-listener-report } accept
  9. ip protocol icmp icmp type { destination-unreachable, router-advertisement, router-solicitation, time-exceeded, parameter-problem } accept
  10. ip protocol igmp accept
  11. tcp dport 8822 accept
  12. tcp dport http accept
  13. tcp dport https accept
  14. tcp dport smtp accept
  15. tcp dport submission accept
  16. tcp dport pop3 accept
  17. tcp dport pop3s accept
  18. tcp dport imap2 accept
  19. tcp dport imaps accept
  20. counter packets 1482 bytes 342159 drop
  21. udp dport openvpn accept
  22. }
  23.  
  24. chain output {
  25. type filter hook output priority 0; policy accept;
  26. }
  27.  
  28. chain forward {
  29. type filter hook forward priority 0; policy drop;
  30. }
  31. }
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement