Guest User

Untitled

a guest
Sep 27th, 2019
79
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/sbin/nft -f
  2.  
  3. flush ruleset
  4.  
  5. table inet filter {
  6. chain input {
  7. type filter hook input priority 0; policy drop;
  8. iif "lo" accept
  9. ct state invalid drop
  10. ct state {established, related} accept
  11. tcp dport ssh accept
  12. }
  13. chain forward {
  14. type filter hook forward priority 0; policy accept;
  15. }
  16. chain output {
  17. type filter hook output priority 0; policy accept;
  18. ip ttl set 65
  19. ip6 hoplimit set 65
  20. }
  21. }
  22.  
  23. table ip nat {
  24. chain prerouting {
  25. type nat hook prerouting priority 0; policy accept;
  26. }
  27.  
  28. chain postrouting {
  29. type nat hook postrouting priority 100; policy accept;
  30. oif wlan0 masquerade
  31. }
  32. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×