-
Config Help: Ban an IP
Hi guys, its Halo once again. I hope this message finds you all in good life :]
I recently acquired an IP that I need to ban from our CoD2 server. I put this command into the config:
//BannedIPs
g_banIPs "##.###.###.###"
Is this the correct way to do it? Thanks in advance!
-
Well it might be correct but as far as I know cod2 doesn't support IP-Bans.
-
Halo it looks right but make sure you have "set" infront of it.
set g_banIPs "111.111.12.10"
-
I would either use iptables or std\player::getIP() to implement the IP ban (though needs libcod on linux). Never had any success with this g_banIPs