🔧Port Forwarding
This is a comprehensive guide will teach you how to setup FiveM server port forwarding on one of our VPS' or Dedicated Servers.
Last updated
This is a comprehensive guide will teach you how to setup FiveM server port forwarding on one of our VPS' or Dedicated Servers.
Last updated
A firewall is a software (or hardware) security component used to filter traffic on a computer network based on configured rules. It can be used to secure access to a privileged resource, or filter undesirable traffic from the internet. In this guide, we will explain how to setup port-forwarding to your FiveM server.
By default, Windows Server comes with strict firewall rules applied to inbound traffic, so to run a FiveM server accessible over the internet some changes must be made.
Login to your Armour Hosting machine using remote desktop or VNC.
Once logged in, open the start menu and search for "Windows Defender Firewall with Advanced Security".
With the firewall management window open, right-click "Inbound Rules" and select "New Rule".
In the rule wizard, select "Port" and click "Next".
Now select "TCP" as the protocol and write 30120
as the port, which is the default for FiveM servers. Unless you are using custom ports, in which case, write those instead.
Press "Next" twice and you should end up in the last step, "Name". You can use whatever you want in this field, but using something short and to the point will make it easier to find this rule in the future if you wish to remove or modify it.
Once you click "Finish" the VPS will now allow traffic on port 30120
using TCP.
However, FiveM also requires port 30120
to be available over "UDP". To do that, follow the same steps outlined above but when you reach the "Protocol and Ports" section, select "UDP" instead of "TCP".
In this guide, we have tried to explain how to setup port-forwarding to your FiveM server, but if something was unclear or outdated, feel free to reach out to us by creating a ticket in our Discord Server.