I know it is iptables rule, but I don't know how to make it , so, how?
Forum
CS2D Servers How to Don't Let Some Countries From Seeing ServerHow to Don't Let Some Countries From Seeing Server
20 repliesI know it is iptables rule, but I don't know how to make it , so, how?
How am I stopping them from replying?
"Oh, my hand hurts! Let's cut it off"
Do not ban whole countries or even subnets.
It's both useless and impossible to "drop the connection from specific countries". But hey, if you have B-52 and few EMP bombs... I have an idea.
1
2
3
4
5
6
2
3
4
5
6
addhook("join","join_hook") function join_hook(id) if (player(id,"ip")==x.x.x.x) then parse("") end end
1
2
3
4
5
6
2
3
4
5
6
addhook("join","join_hook") function join_hook(id) if (player(id,"ip")~="0.0.0.0" and not player(id,"ip"):find("192.168.")) then parse("kick ".. id .." \"Your IP is banned\"") end end
Danil my best friend haha