Firewall
How to create and manage firewall rules for your game server.
What is the Firewall?
The built in firewall lets you control which connections can reach your server ports. You can allow trusted traffic, block unwanted traffic, and add an extra layer of protection for your server.
How Firewall Rules Work
When creating rules, keep these behaviors in mind:
- Rules are evaluated by priority order.
- A lower priority number is checked first (for example
1before2). - If traffic matches multiple rules, the highest-priority match is applied.
- To block all traffic to a specific port, create a Block rule with the remote IP set to
0.0.0.0/0.
Tip
Start with a strict rule set and only allow the traffic you actually need.
Creating a Firewall Rule
You can create a rule from the Firewall section in your game panel.
Open your server in the game panel and navigate to Firewall.
In Remote IP, enter the IP address or CIDR range the rule should apply to.
In Server Port, select the server port you want to protect.
Set Priority (lower numbers are processed first).
Choose Type:
- Allow to permit matching traffic.
- Block to deny matching traffic.
Click Create to save the rule.
Recommended Rule Patterns
Allow one trusted source to a port
- Remote IP: trusted IP/CIDR (example:
203.0.113.10/32) - Server Port: your game port
- Type:
Allow - Priority: low number (example:
1)
Block all traffic to a port
- Remote IP:
0.0.0.0/0 - Server Port: target port
- Type:
Block - Priority: choose based on how early this should be evaluated
Best Practices
- Keep rule count small and clear to avoid overlaps.
- Use specific IPs/CIDRs instead of broad ranges whenever possible.
- Review priorities after adding new rules.
- Test access after changes so you do not accidentally lock out valid traffic.