Valkyrie Hosting is now part of Vluxon Inc.One team, one expanded platform and a broader hosting ecosystem built to deliver more for every customer.

Back to Networking & Troubleshooting
Networking & Troubleshooting

Configure Windows Firewall Ports for Game Servers

Learn how to configure Windows Firewall ports for game servers. Step-by-step guide to create inbound rules for port 30120 & txAdmin access. Essential setup guide.

2 min read

Opening Windows Firewall Ports

Windows Firewall configuration is required to allow game server connections and administrative access. This guide uses FiveM server ports as an example, but the process applies to any game server or application requiring port access.

Example Port Configuration (FiveM)

This guide demonstrates configuration using FiveM's standard ports. Replace these with your application's required ports:

Port Protocol Purpose Required
30120 TCP/UDP Player connections Yes
40120 TCP txAdmin web interface Optional

Creating Inbound Rules

Initial Rule Setup

  1. Navigate to Control Panel > System and Security > Windows Defender Firewall
  2. Select Advanced settings
  3. Click Inbound Rules in the left pane
  4. Right-click Inbound Rules and select New Rule

TCP Rule Configuration

  1. Select Port and click Next
  2. Select TCP
  3. Select Specific Local Ports
  4. Enter 30120 in the port field
  5. Click Next
  6. Select Allow the connection
  7. Click Next
  8. Select appropriate network types (default settings work for most configurations)
  9. Click Next
  10. Enter a descriptive name such as "FiveM TCP"
  11. Click Finish

UDP Rule Configuration

Repeat the above steps with these modifications:

  • In step 2, select UDP instead of TCP
  • In step 10, use a name such as "FiveM UDP"

Additional Port Rules

Create separate rules for port 40120 using the same process if txAdmin web access is required.

Related Articles

Ready to host your game server? View Vluxon FiveM VPS plans with pre-configured firewall settings and DDoS protection.