# Host a Terraria or Palworld Server Behind CGNAT Without Port Forwarding

Your friends cannot join your home Terraria or Palworld server because your ISP uses CGNAT. Here is how to share it with one ProxVN command and no router changes.

Source: https://proxvn.io.vn/blog/host-terraria-palworld-server-behind-cgnat

You set up a Terraria or Palworld server at home, sent the address to your friends, and nobody could join. Your router settings look correct, your server is running, and the connection still times out. In many cases the problem is not your server at all: your internet provider has put you behind CGNAT.

This guide explains what CGNAT does, why normal port forwarding cannot fix it, and how to share your server with one ProxVN command — no router changes and no static IP.

## What CGNAT is, and why port forwarding fails

CGNAT stands for Carrier-Grade NAT. Instead of giving your home a unique public IPv4 address, your provider shares one public address between many customers. Your router gets a private address from the provider, so a port-forwarding rule on your router only opens a port inside the provider's private network. Nobody on the internet can reach it, because the public address does not point to you.

That is why the usual advice — log in to the router, forward port 7777 or 8211, give friends your public IP — does not work behind CGNAT. You cannot fix it from your router, and in most cases you cannot ask the provider to change it without paying for a business plan or a static IP.

ProxVN avoids the problem completely. It exposes a local app, API, game server or folder to the internet via a public link with one command, with no router port-forwarding, and it works behind CGNAT. Your server makes an outbound connection to ProxVN, and ProxVN gives you a public address your friends can use.

## Step 1: Install ProxVN

ProxVN is a single static Go binary for Windows, macOS, Linux and Android (Termux), and it is open source and self-hostable on a VPS.

On Linux, macOS or Termux, install it with:

```
curl -fsSL https://proxvn.io.vn/install.sh | sh
```

On Windows, in PowerShell, run:

```
irm https://proxvn.io.vn/install.ps1 | iex
```

## Step 2: Start your game server

Start the game server on the same computer first, and check that it works locally before you share it.

- **Terraria:** start the Terraria dedicated server. Its default port is 7777 (TCP). Join it yourself from the game on the same network to confirm the world loads and the port is listening.
- **Palworld:** start the Palworld dedicated server. Its default port is 8211 (UDP). Check the server console for errors and confirm it has finished loading the world.

If the server does not work on your own machine, a tunnel will not fix it. Sort out mods, world files and firewall prompts on the server computer first.

## Step 3: Expose it with one command

For Terraria, run a TCP tunnel on port 7777:

```
proxvn tcp 7777
```

For Palworld, run a UDP tunnel on port 8211:

```
proxvn udp 8211
```

ProxVN returns a public address in the form ` tunnel.proxvn.io.vn:<port> `. That is the address you share with your friends. There is nothing to configure on the router, and you do not need a static IP: the tunnel works even when your home address changes, because the public address is the one ProxVN gives you.

ProxVN supports HTTP/HTTPS tunnels (WebSocket and SSE) as well as TCP and UDP tunnels for SSH, databases and game servers, so the same tool covers a web app one day and a game server the next.

## Step 4: Friends connect in-game

Send your friends the address exactly as ProxVN printed it, including the port number. Then:

- **Terraria:** in the game, choose Multiplayer → Join via IP, enter the ProxVN host and port, and join the world.
- **Palworld:** in the game, use Join Multiplayer Game and enter the ProxVN address with its port.

If a friend cannot connect, check three things in order: the game server is still running, the ProxVN tunnel is still running in its terminal, and your friend typed the full address including the port. The tunnel and the server must both stay running for the whole session — closing either one ends the game for everyone.

## Anonymous or free account?

You can try this without an account: anonymous use works and needs no sign-up. But anonymous tunnels have session limits, so for longer sessions a free account is recommended. A free account also gives you fixed subdomains, removes the browser warning page, and currently allows 10 tunnels per account and 3 fixed subdomains per account, with higher limits than anonymous use.

For a regular game night, create the free account first, then start the tunnel. You will spend the evening playing instead of restarting the tunnel and sending a new address to the group chat.

## What about latency?

Latency depends on distance: the farther your friends are from the tunnel server, the higher the ping. Players in the same country or region will usually have the best experience. If the game feels laggy, check your own upload speed first — a home server sends the world to every player — and keep the server computer wired to the router rather than on Wi-Fi when you can.

ProxVN does not promise perfect latency for every route, and no tunnel can beat the physical distance between players. What it does promise is a simple, working path through CGNAT without touching the router.

## Try it tonight

Start your Terraria server and run ` proxvn tcp 7777 `, or start your Palworld server and run ` proxvn udp 8211 `. Share the address ProxVN prints, and your friends can join without you ever opening the router admin page.

Get started at [ProxVN](https://proxvn.io.vn/) and see the installation options on the [download page](https://proxvn.io.vn/download).
