Step 1: Backend Setup
Step 2: Purchase DDoS Protection Service
1. Name your service (important if you plan to have many).
2. Select the IPs and Ports you wish to protect.
You will receive an E-mail in about 3 ~ 5 hours with your new Filtered IP and also it will appear in your Client area in FiveM Service Section.
Step 3: Setup and configuration
1. Go to https://keymaster.fivem.net/ and generate a new key for your new Filtered IP.
2. Now, Let's Edit Server.cfg file.
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only. endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" # These resources will start by default. ensure mapmanager ensure chat ensure spawnmanager ensure sessionmanager ensure fivem ensure hardcap ensure rconlog ensure scoreboard sv_scriptHookAllowed 0 # Set your server's hostname sv_hostname "FXServer, but unconfigured" set temp_convar "hey world!" add_ace group.admin command allow # allow all commands add_ace group.admin command.quit deny # but don't allow quit add_principal identifier.fivem:1 group.admin # add the admin to the group sv_endpointprivacy true onesync_enabled true sv_maxclients 32 set steam_webApiKey "" # License key for your server (https://keymaster.fivem.net) sv_licenseKey changeme
Replace "changeme" with your new key.