# Host a Minecraft Server Without Port Forwarding — Even Behind CGNAT

Behind CGNAT, port forwarding on your router does nothing. One ProxVN command gives your home Minecraft server a public address your friends can join — Java TCP 25565, Bedrock UDP 19132.

Source: https://proxvn.io.vn/blog/host-minecraft-server-without-port-forwarding

## CGNAT killed your port forwarding? Read this

You set up a Minecraft server at home and invite your friends. Then reality hits:

- You dig through your router's Port Forwarding page, configure everything... and friends still **cannot connect**.
- Reason: most home connections today sit behind **CGNAT** — your ISP does not give your router a public IP, so **port forwarding cannot work**.
- Renting a Minecraft host costs money, and your group only plays a few evenings a week.

The alternative: let **ProxVN open a tunnel from your machine to the internet**. Friends just use the address ProxVN gives you — **no port forwarding, works through CGNAT**.

## Step 1: Run the Minecraft server on your machine

- **Minecraft Java Edition:** run the server as usual, default port **TCP 25565**.
- **Minecraft Bedrock (phone/console):** run a Bedrock server, default port **UDP 19132**.

Self-check: join the server via ` localhost ` from your own game.

## Step 2: Install ProxVN

**Linux / macOS / Android (Termux):**

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

**Windows (PowerShell):**

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

## Step 3: Open a tunnel for the server

**For Minecraft Java (TCP 25565):**

```
proxvn tcp 25565
```

**For Minecraft Bedrock (UDP 19132):**

```
proxvn udp 19132
```

ProxVN supports both **TCP and UDP tunnels**, so both editions work. The same approach applies to **Terraria** and other LAN games over TCP/UDP.

## Step 4: Send the address to your friends

After the command runs, ProxVN assigns your server **a public address**. Send it to your friends — they open Minecraft, choose **Add Server**, enter the address, and play like on any normal server. Nobody touches a router.

## Safety & expectations

- **Your machine must stay on and the tunnel must keep running** for the whole session; stopping the command disconnects everyone.
- The tunnel address is public: **enable the whitelist** in your Minecraft server config so only people you know can join.
- Smoothness depends on **your home connection and machine** — the server runs on your hardware. For a small group of friends it works great.

## Wrap-up

CGNAT is no longer a wall: one command — ` proxvn tcp 25565 ` or ` proxvn udp 19132 ` — and your group has its own server, free within clear account limits (up to 10 tunnels per account when you register).

👉 **Download ProxVN and open your server:** [https://proxvn.io.vn/download](https://proxvn.io.vn/download) — more at [https://proxvn.io.vn/](https://proxvn.io.vn/)
