For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Follow the Sentry Tunnel General Setup guide.

2.1 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.

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

3. NGNIX Proxy Creation

This goes without saying that the endpoint IP address of your VXLAN tunnel should be the Linux's server IP.

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:

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

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

Last updated

Was this helpful?