Jump to content

Server security (IP and subnet ban).


peace

Recommended Posts

Hi.

 

Users can ban and unban IPs and subnets on OS through panel interface. Ban only works for IP:port of their game server but not for all server. Sometimes game servers are under attacks, usually it's simple UDP flood that can be blocked only on OS or firewall.

Link to comment
Share on other sites

  • 2 weeks later...

Example ban command for Iptables where -s is source IP and -d is destination server IP:

 

iptables -A INPUT -p tcp --dport 27015 -s 123.45.56.78 -d 123.45.81.31 -j DROP

iptables -A INPUT -p udp --dport 27015 -s 123.45.56.78 -d 123.45.81.31 -j DROP

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 60 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use