Advertisement
Guest User

Untitled

a guest
Jun 8th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. table ip Filter {
  2. chain Input {
  3. type filter hook input priority 0; policy accept;
  4. ct state established accept
  5. ct state related accept
  6. iif "lo" accept
  7. tcp dport ssh counter packets 0 bytes 0 accept
  8. counter packets 3106 bytes 192457 log drop
  9. }
  10.  
  11. chain Output {
  12. type filter hook output priority 0; policy accept;
  13. ct state established accept
  14. ct state related accept
  15. oif "lo" accept
  16. ct state new counter packets 21446 bytes 1442088 accept
  17. }
  18. }
  19. table ip6 Filter {
  20. chain Input {
  21. type filter hook input priority 0; policy accept;
  22. ct state established accept
  23. ct state related accept
  24. iif "lo" accept
  25. tcp dport ssh counter packets 0 bytes 0 accept
  26. icmpv6 type { nd-neighbor-solicit, echo-request, nd-router-advert, nd-neighbor-advert} accept
  27. counter packets 51 bytes 7529 log drop
  28. }
  29.  
  30. chain Output {
  31. type filter hook output priority 0; policy accept;
  32. ct state established accept
  33. ct state related accept
  34. oif "lo" accept
  35. ct state new counter packets 1140 bytes 104444 accept
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement