Hytale Firewall Rule Generator
Generate firewall commands to allow UDP port 5520 for your Hytale server. Works with Windows, Linux, macOS, and cloud providers.
Select Your Operating System
Firewall Commands
Allow Port 5520
netsh advfirewall firewall add rule name="Hytale Server" dir=in action=allow protocol=UDP localport=5520
Block Port 5520
netsh advfirewall firewall add rule name="Hytale Server" dir=in action=block protocol=UDP localport=5520
Remove Rule
netsh advfirewall firewall delete rule name="Hytale Server"
Step-by-Step Instructions
- 1.Open Command Prompt as Administrator
- 2.Run the command to allow/block port 5520
- 3.Verify the rule was added: netsh advfirewall firewall show rule name='Hytale Server'
- 4.Test your server connection
Always test your server after adding firewall rules to ensure players can connect properly.
Cloud Provider Security Groups
AWS Security Group Rules
- 1.Navigate to EC2 Dashboard > Security Groups
- 2.Select your instance's security group
- 3.Click 'Edit inbound rules'
- 4.Click 'Add rule'
- 5.Type: Custom UDP
- 6.Port range: 5520
- 7.Source: 0.0.0.0/0 (or restrict to specific IPs)
- 8.Description: Hytale Server
- 9.Save rules
Security Tip: For production servers, restrict source IPs to known locations instead of allowing 0.0.0.0/0 (all IPs).
About Port 5520
Protocol: UDP (User Datagram Protocol)
Default Port: 5520 is the default port for Hytale servers
Direction: Inbound (ingress) traffic from players to your server
UDP is preferred for gaming because it prioritizes speed over reliability, which is essential for real-time gameplay.
If you changed the port in your server configuration, use that port number instead of 5520.
Hytale Firewall Configuration Guide
Why Configure Your Firewall?
Firewalls protect your server by blocking unauthorized connections. To host a Hytale server, you need to explicitly allow incoming connections on port 5520 while keeping other ports secure.
Without proper firewall configuration, players won't be able to connect to your server even if port forwarding is set up correctly on your router.
Common Firewall Issues
- Connection Timeouts: Usually means the firewall is blocking the port
- Intermittent Disconnects: May indicate firewall rules aren't persistent
- Works Locally, Not Remotely: Firewall is blocking external connections
- Port Shows as Filtered: Firewall is actively blocking or filtering packets
Best Practices for Firewall Security
- • Only open the ports you absolutely need (port 5520 for Hytale)
- • Use allowlists instead of denylists when possible
- • Regularly review and update your firewall rules
- • Consider rate limiting to prevent DDoS attacks
- • Monitor logs for suspicious connection attempts
- • Keep your firewall software up to date