OVHcloud Community

Welcome to your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Firewall setup for CS:GO



Can anyone tell me how to setup the Firewall for CS:GO ?

I have a KS-Game Dedi , but i dont know how to setup the rules to protect my game server.

I want to protect just port for cs:go like 27015

I contacted the support but they didnt offered me any help so im lost now

Any help please ?



Any help please ?


Hello @EgzonK,

I invite you to consult the following two guides.



Hello @FabL

I rreally need a firewall to configure for Game Server all i saw here its for other ports like 80 , 443

I have added these iptables into my Dedicated game server

iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --set --name DEFAULT --rsource

iptables -A INPUT -p udp -m udp --dport 27015 -m state --state NEW -m recent --update --seconds 60 --hitcount 10 --name DEFAULT --rsource -j DROP

But How to configure game rules in OVH here , because the game works with UDP ports and when i tried to add some rules players cant get in in game server.