Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. iptables -N country2
  2. iptables -A INPUT -p tcp --dport 25565 -m geoip ! --source-country RU,EE,LV,LT,BY,UA,MD,GE,AZ,KZ,UZ,TM,TJ -j country2
  3. iptables -A country2 -p tcp --dport 25565 -m geoip --source-country DE,FR,MD,FI,IT,KG,PL,ES,AM -j ACCEPT
  4. iptables -A country -j DROP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement