How to set up a protected IP on Windows

If you are running on a VPS, there is a chance you might want to protect yourself from application-specific DDoS attacks.

We are offering a variety of DDoS filters for Virtual Private Servers, simply open a ticket asking for a DDoS-Protected IP for xx (e.g. FiveM). ($3/mo extra)

Once our support agents reply, you will receive a few commands to run on your Virtual Private Server.

Simply open up PowerShell as Administrator, and paste the commands in one by one.

Protected IP Setup Example

netsh interface ip set address "Ethernet" static 45.144.246.3 255.255.255.224 45.144.246.1

You will be disconnected, simply reconnect to your VPS.

netsh interface ip set dns "Ethernet" static 1.1.1.1
netsh int ipv4 add address "Ethernet" 45.144.246.34 255.255.255.224 skipassource=true gateway=45.144.246.33

And that's it! You might need to configure your gameserver to use your protected IP address instead of your unprotected address.

Please try to keep your unprotected IP as private as possible.

FiveM Configuration

Edit your server.cfg, and replace the following line:

endpoint_add_udp "0.0.0.0:30120"

to:

endpoint_add_udp "YOUR-PROTECTED-IP:30120"

And add the following line:

sv_listingIpOverride "YOUR-PROTECTED-IP"

That's it! You're all set.

If you have any other questions, feel free to ask in a ticket!

Last updated