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. Notes: Sentry Tunnel/VXLAN requires a Linux Server. Hence, I will also include instructions for setting up a Linux proxy in front of the Windows server.

If you're already running your FiveM server on a Linux OS, 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
circle-exclamation
VXLAN Tunnel Overview

Once the tunnel is created, you will see the Overview page for the tunnel. In this example:

  • Public IP: 104.234.6.128 - The 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

circle-exclamation

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:

(It goes without saying that you should replace the corresponding IP addresses to match your own).

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, change it to something similar to this example:

triangle-exclamation

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

circle-exclamation

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

Last updated

Was this helpful?