txAdmin Proxy Cloudflare

Secure txAdmin with Cloudflare Tunnel

This guide walks you through setting up a Cloudflare Tunnel for txAdmin so that you can safely expose your admin panel without revealing your IP address, helping prevent DDoS attacks.

Requirements

  • A domain added to your Cloudflare account.

  • A FiveM server (VPS or dedicated).

  • Cloudflared downloaded and installed on your VPS or dedicated server.


txAdmin Tunnel Tutorial

Step 1: Setup Your Domain on Cloudflare

  1. Make sure you have a domain in your Cloudflare account.

  2. Go to the Cloudflare dashboard and navigate to:

    Account Home > Zero Trust > Networks > Tunnels

Step 2: Configure a Cloudflare Tunnel

  1. Click "Add a Tunnel".

  2. Choose Cloudflared as the tunnel type.

  3. Name the tunnel (e.g., txadmin or any name you prefer).


Step 3: Install Cloudflared

Download the cloudflared binary directly to the VPS or dedicated server your FiveM server is running.

  • Latest Windows binary here.

  • Alternate download options directly from Cloudflare located here.


Step 4: Run the Tunnel

  1. Open Command Prompt as Administrator.

  2. Use the cd command to navigate to the folder where Cloudflared was installed. By default, this is likely:

    C:\Program Files (x86)\cloudflared

    Your command might look like:

    C:\Users\Administrator> cd "C:\Program Files (x86)\cloudflared"

    Once you're in the directory, your prompt should look blow, awaiting the copy/paste from Cloudflare.

    C:\Program Files (x86)\cloudflared>
Preview of CMD
  1. Copy and paste the command shown in your Cloudflare dashboard to authenticate the tunnel and connect it to your account.


Step 5: Configure Tunnel Routing

During setup:

  • Subdomain: txadmin

  • Domain: Select from your Cloudflare-managed domains.

  • Service Type: http

  • URL: localhost:40120

This forwards traffic from txadmin.yourdomain.com to your local txAdmin panel.


Step 6: Deploy and Access

Once deployed, your txAdmin panel will be securely accessible at:

https://txadmin.yourdomain.com
Custom Subdomain

Done!

You now have a secure way to manage your FiveM server using txAdmin without exposing your public IP address.

Last updated