Sentry Tunnel for FiveM/GTA Online

VXLAN Setup for FiveM server

In this guide, I will walk you through the process of setting up a Sentry Tunnel for a FiveM server running on Windows 11, using the txAdmin panel. Since this setup is on Windows, I will also include instructions for setting up a Linux proxy in front of the server to enable VXLAN configuration.

Note: If you're already running your FiveM server on Linux, the setup process is the same. Simply skip the proxy creation step.

1. Verify that the server is running:

In my example, the server is running and reachable on 103.120.39.17:30120

2. Tunnel Creation

Go to your TCPShield Panel → TunnelsNew Tunnel.

Creating Tunnel
VXLAN Tunnel Overview

Once the tunnel is created, you will see the Overview page for the tunnel:

  • Public IP: 104.234.6.128 - Dedicated IP your users will connect to

  • Private IP: 172.18.128.2 - Interface IP used by our anycast server

  • Port: 34251 - Assigned for VXLAN traffic

  • Setup Script:

FOR LINUX SERVER:

Ensure both the backend port (30120) and the VXLAN port (34251) are open and accepting connections. You can refer to this guide for further instructions.

Copy and run the setup script located at the bottom of the page. Verify the tunnel creation by running the following command:

If the tunnel was successfully created, you will see output similar to this:

At this point, you should be able to ping the private IP address:

Finally, proceed to Step 4 to complete the setup.

FOR WINDOWS SERVER: Head to step 3 to create your NGINX Proxy.

3. NGNIX Proxy Creation

Since the VXLAN tunnel can only be created on a Linux server, as a Windows user, you will need access to a Linux server. We recommend using a reputable hosting provider. In this example, the proxy IP address is 108.61.149.182.

Navigate to your nginx.conf file, which can be found at one of these locations:

  • /usr/local/nginx/conf/nginx.conf

  • /etc/nginx/nginx.conf n

Use your preferred editor (e.g., nano), and add the following configuration:

Reload your NGINX server: service nginx reload

Now, return to Step 2 and run the setup script. Follow the instructions for the Linux server.

4. Update the config file

In your server.cfg file, add the following:

You might need to also specify the UDP endpoint for your server with:

And that should be pretty much everything you have to do.

Last updated

Was this helpful?