Advertisement
Guest User

Untitled

a guest
Aug 10th, 2016
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. iptables -N bungee
  2.  
  3. iptables -A bungee --src 127.0.0.1 -j ACCEPT
  4. iptables -A bungee --src xxx.xx.140.49 -j ACCEPT
  5. iptables -A bungee --src xx.xxx.156.91 -j ACCEPT
  6. iptables -A bungee --src x.xxx.197.166 -j ACCEPT
  7. iptables -A bungee --src xxx.xxx.188.190 -j ACCEPT
  8.  
  9. iptables -A bungee -j DROP
  10.  
  11. iptables -I INPUT -m tcp -p tcp --dport 25565 -j bungee
  12. iptables -I INPUT -m tcp -p tcp --dport 25568 -j bungee
  13. iptables -I INPUT -m tcp -p tcp --dport 25531 -j bungee
  14. iptables -I INPUT -m tcp -p tcp --dport 25571 -j bungee
  15. iptables -I INPUT -m tcp -p tcp --dport 25572 -j bungee
  16. iptables -I INPUT -m tcp -p tcp --dport 25566 -j bungee
  17. iptables -I INPUT -m tcp -p tcp --dport 25567 -j bungee
  18. iptables -I INPUT -m tcp -p tcp --dport 25568 -j bungee
  19. iptables -I INPUT -m tcp -p tcp --dport 25569 -j bungee
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement