🔧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.
What is a firewall?
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.
How do I configure the Windows firewall for FiveM?
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".
Windows Defender Firewall found in the Start Menu With the firewall management window open, right-click "Inbound Rules" and select "New Rule".
Creating a new inbound rule In the rule wizard, select "Port" and click "Next".
Selecting the Rule Type 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.Rule Protocol and the opening of default FiveM ports 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.
Name your rule for convenience 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".
Conclusion:
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.
Last updated