vsakos

nordvpn iptables

Nov 23rd, 2020
131
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -P INPUT ACCEPT
  2. -P FORWARD ACCEPT
  3. -P OUTPUT ACCEPT
  4. -A INPUT -s 212.83.150.163/32 -i wlan0 -j ACCEPT
  5. -A INPUT -s 212.83.150.163/32 -i eth0 -j ACCEPT
  6. -A INPUT -i wlan0 -p udp -m udp --dport 22 -j ACCEPT
  7. -A INPUT -i wlan0 -p udp -m udp --sport 22 -j ACCEPT
  8. -A INPUT -i eth0 -p udp -m udp --dport 22 -j ACCEPT
  9. -A INPUT -i eth0 -p udp -m udp --sport 22 -j ACCEPT
  10. -A INPUT -i wlan0 -p tcp -m tcp --dport 22 -j ACCEPT
  11. -A INPUT -i wlan0 -p tcp -m tcp --sport 22 -j ACCEPT
  12. -A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT
  13. -A INPUT -i eth0 -p tcp -m tcp --sport 22 -j ACCEPT
  14. -A INPUT -i wlan0 -j DROP
  15. -A INPUT -i eth0 -j DROP
  16. -A OUTPUT -d 212.83.150.163/32 -o wlan0 -j ACCEPT
  17. -A OUTPUT -d 212.83.150.163/32 -o eth0 -j ACCEPT
  18. -A OUTPUT -o wlan0 -p udp -m udp --dport 22 -j ACCEPT
  19. -A OUTPUT -o wlan0 -p udp -m udp --sport 22 -j ACCEPT
  20. -A OUTPUT -o eth0 -p udp -m udp --dport 22 -j ACCEPT
  21. -A OUTPUT -o eth0 -p udp -m udp --sport 22 -j ACCEPT
  22. -A OUTPUT -o wlan0 -p tcp -m tcp --dport 22 -j ACCEPT
  23. -A OUTPUT -o wlan0 -p tcp -m tcp --sport 22 -j ACCEPT
  24. -A OUTPUT -o eth0 -p tcp -m tcp --dport 22 -j ACCEPT
  25. -A OUTPUT -o eth0 -p tcp -m tcp --sport 22 -j ACCEPT
  26. -A OUTPUT -o wlan0 -j DROP
  27. -A OUTPUT -o eth0 -j DROP
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.

×