Hello, Guest

By registering with us, you'll be able to discuss, share and private message with other members of our community.
What's new

How to open ports for RAGE:MP server (22005 / 22006)

Alexalsaud

Administrative
Staff member
Admin
Joined
Aug 5, 2024
Messages
337
ICoins
1,301
How to open ports for RAGE:MP server (22005 / 22006)

Code:
netsh advfirewall firewall add rule name="ragemp server" dir=in action=allow protocol=UDP localport=22005
netsh advfirewall firewall add rule name="ragemp server" dir=out action=allow protocol=UDP localport=22005

netsh advfirewall firewall add rule name="ragemp server" dir=in action=allow protocol=TCP localport=22005
netsh advfirewall firewall add rule name="ragemp server" dir=out action=allow protocol=TCP localport=22005

netsh advfirewall firewall add rule name="ragemp server" dir=in action=allow protocol=TCP localport=22006
netsh advfirewall firewall add rule name="ragemp server" dir=out action=allow protocol=TCP localport=22006

Attention! Don't forget to add the bind parameter to the config (conf.json) with the correct IP of your hosting.

JSON:
{
{
"bind": "ВАШ ИП ТУТ", // Add this line
"gamemode": "freeroam",
"name": "RAGE:MP Unofficial server [Tag]",
"maxplayers": 100,
"port": 22005,
"stream-distance": 500.0,
"announce": true // This parameter is responsible for displaying the server in the master list
}
}

Ports can be closed in this way

Code:
undefined

Importantly!
Do not try to open ports on your computer, you should understand that this may not be enough, because after your computer in the network chain there is also a router and a provider - there may also be closed ports. - Harland David Sanders

Windows:
22005 UDP Incoming/Outgoing
22006 TCP Incoming/Outgoing
 
Back
Top