SHARE
TWEET

Untitled

a guest Jan 29th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  2. iptables -A INPUT -p icmp -j ACCEPT
  3. iptables -A INPUT -p tcp --dport 22 -j ACCEPT
  4. iptables -A INPUT -s 103.21.244.0/22 -j ACCEPT
  5. iptables -A INPUT -s 103.22.200.0/22 -j ACCEPT
  6. iptables -A INPUT -s 103.31.4.0/22 -j ACCEPT
  7. iptables -A INPUT -s 104.16.0.0/12 -j ACCEPT
  8. iptables -A INPUT -s 108.162.192.0/18 -j ACCEPT
  9. iptables -A INPUT -s 131.0.72.0/22 -j ACCEPT
  10. iptables -A INPUT -s 141.101.64.0/18 -j ACCEPT
  11. iptables -A INPUT -s 162.158.0.0/15 -j ACCEPT
  12. iptables -A INPUT -s 172.64.0.0/13 -j ACCEPT
  13. iptables -A INPUT -s 173.245.48.0/20 -j ACCEPT
  14. iptables -A INPUT -s 188.114.96.0/20 -j ACCEPT
  15. iptables -A INPUT -s 190.93.240.0/20 -j ACCEPT
  16. iptables -A INPUT -s 197.234.240.0/22 -j ACCEPT
  17. iptables -A INPUT -s 198.41.128.0/17 -j ACCEPT
  18. iptables -A INPUT -s 199.27.128.0/21 -j ACCEPT
  19. iptables -A INPUT -i lo -j ACCEPT
  20. iptables -A INPUT -j DROP
  21.  
  22. ip6tables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
  23. ip6tables -A INPUT -p icmp -j ACCEPT
  24. ip6tables -A INPUT -p tcp --dport 22 -j ACCEPT
  25. ip6tables -A INPUT -s 2400:cb00::/32 -j ACCEPT
  26. ip6tables -A INPUT -s 2606:4700::/32 -j ACCEPT
  27. ip6tables -A INPUT -s 2803:f800::/32 -j ACCEPT
  28. ip6tables -A INPUT -s 2405:b500::/32 -j ACCEPT
  29. ip6tables -A INPUT -s 2405:8100::/32 -j ACCEPT
  30. ip6tables -A INPUT -s 2a06:98c0::/29 -j ACCEPT
  31. ip6tables -A INPUT -s 2c0f:f248::/32 -j ACCEPT
  32. ip6tables -A INPUT -i lo -j ACCEPT
  33. ip6tables -A INPUT -j DROP
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top