Banning an IP Address from the server
-
- New to forums
- Posts: 3
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Aug 17, 2009 12:43 pm
Banning an IP Address from the server
I am relatively new at this but I need to ban a single IP from the server to prevent unwanted access by an individual. How would I set up an IP Ban to prevent access.
Re: Banning an IP Address from the server
Maverick wrote:I am relatively new at this but I need to ban a single IP from the server to prevent unwanted access by an individual. How would I set up an IP Ban to prevent access.
I would love to be able to help. I need to know what game this is for. Unless this is not for a gameserver then the part of the server such as the whole vps or so on. Please let me know and I will try to respond here asap.
Thanks
Brendan
Re: Banning an IP Address from the server
Sorry about that it is a game server for Golden Tee Golf
Re: Banning an IP Address from the server
Oh boy. This is not a game I am familiar with... Hopefully we can find an hours though. Please allow me some time to research this. And maybe there is a way to prevent it by the software on the machine instead of the server software. I will try to do some research on this. And maybe someone else out there has the answer already handy.Maverick wrote:Sorry about that it is a game server for Golden Tee Golf
Re: Banning an IP Address from the server
If you're running Windows and you'd like to block a single external IP, I'd recommend installing the ipseccmd.exe utility and running a command like this:
ipseccmd -f "0+xxx.xxx.xxx.xxx"
Where xxx.xxx.xxx.xxx is the IP address you'd like to block.
You could also enable the standard Windows firewall and block the IP that way, but using IPSec is a bit lighter-weight (and temporary by default, so it's easy to undo mistakes, via a reboot).
ipseccmd -f "0+xxx.xxx.xxx.xxx"
Where xxx.xxx.xxx.xxx is the IP address you'd like to block.
You could also enable the standard Windows firewall and block the IP that way, but using IPSec is a bit lighter-weight (and temporary by default, so it's easy to undo mistakes, via a reboot).
Re: Banning an IP Address from the server
Glad John was able to throw that out there the magic man himself.
Best of luck.
Best of luck.