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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 24 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