20 min read

Host a Game Server at Home and Play With Your Friends

Host Minecraft, Valheim, Palworld, CS2 and more from your own PC for free. Invite friends with a simple link — no tech skills or expensive servers required.

🎮 Game Servers · TCP · UDP · No Port Forwarding · 2026

Host Your Own Game Server at Home | No Port Forwarding, No Static IP Required

Minecraft, Valheim, Palworld, CS2, ARK, Rust, 7 Days to Die, Project Zomboid your PC can host any of them for free. The only thing stopping most players is getting friends connected across the internet. Localtonet solves that in minutes with a secure TCP or UDP tunnel, no router access needed.

📅 February 2026 🎮 20+ games covered 🔧 TCP · UDP · TCP+UDP

Why Host Your Own Game Server?

Renting a dedicated game server costs money every single month even during weeks when nobody plays. Meanwhile, the PC on your desk is almost certainly powerful enough to run a server for you and your friends at zero extra cost. The obstacle has never been hardware. It's getting external players connected to your local machine without exposing your home network.

Most residential internet connections sit behind a router performing NAT (Network Address Translation), and many ISPs stack a second layer on top called CGNAT (Carrier-Grade NAT). Your PC has no directly reachable public IP. The old fix port forwarding requires router admin access, firewall rules, and a static IP that most ISPs charge extra for or don't provide at all.

How tunneling replaces port forwarding

Your machine opens an outbound encrypted connection to a public relay server. Friends connect to that relay's public address. The relay forwards traffic to your local game server. No inbound ports need to be open. No router access. No static IP. Works behind NAT, CGNAT, corporate firewalls, and even mobile data.

$0Extra hardware
5 minSetup time
$2Per tunnel / month
20+Supported games
Bandwidth (paid)
0Router changes

What Is Localtonet?

Localtonet is a multi-protocol tunneling platform that exposes any local service to the internet without port forwarding, firewall modifications, or VPN setup. It supports HTTP/HTTPS, TCP, UDP, mixed TCP+UDP, file server tunnels, and proxy tunnels all managed through a single dashboard with a REST API and support for custom domains.

For game server hosting, the critical tunnel types are TCP, UDP, and TCP+UDP mixed. Most competing tools including ngrok, which is widely used for web development do not support UDP at all, making them useless for the majority of multiplayer games. Localtonet handles all three, making it one of the only general-purpose tunneling platforms that works natively with the full range of game server protocols.

Self-Hosting with Localtonet
  • No monthly server rental cost
  • Full mod, rule, and settings control
  • Uses hardware you already own
  • Private, invite-only sessions
  • Works on any internet connection
  • No router or firewall changes needed
Things to Consider
  • Server only runs when your PC is on
  • Upload speed limits max player count
  • Free plan port may change on restart
  • Host latency affects all players
ngrok does not support UDP

If your game uses UDP Valheim, CS2, Palworld, Factorio, ARK, and most survival and shooter titles ngrok will not work at all. Localtonet is one of the very few tunneling services with full UDP and mixed TCP+UDP support.

TCP, UDP, or TCP+UDP | Which Protocol Does Your Game Use?

Selecting the wrong tunnel type means players cannot connect at all. Every multiplayer game uses one of these three configurations. When in doubt, check the game's official server documentation it always lists the required port and protocol.

Protocol How It Works Best For Common Games
TCP Ordered, reliable delivery. Slightly higher latency. Turn-based, puzzle, text-heavy games Minecraft Java, Terraria, Factorio (listen)
UDP Fastest possible. No delivery confirmation. Low latency. Real-time action, shooters, survival Valheim, CS2, Palworld, Factorio (dedicated), Satisfactory
TCP
UDP
Both simultaneously. TCP for sessions, UDP for gameplay. Complex games needing login + real-time combat Rust, ARK: Survival Evolved, 7 Days to Die, Conan Exiles
TCP — Reliable & Ordered
GamesMinecraft Java, Terraria LatencySlightly higher
UDP — Fast & Low-Latency
GamesValheim, CS2, Palworld LatencyMinimal
TCP+UDP — Both Protocols
GamesRust, ARK, 7 Days to Die LatencyDepends on traffic

🪓 Survival & Open World Games

Survival games are the most popular category for self-hosted servers. These titles encourage long-term collaborative play on persistent worlds making a private, always-available server with your own rules ideal for friend groups.

⚔️ Valheim Viking survival and exploration co-op. Download the free dedicated server via Steam Tools. Supports up to 10 players.
UDP · 2456–2458
🐾 Palworld Creature-collecting survival game. Free dedicated server on Steam. Supports up to 32 players per session.
UDP · 8211
🦕 ARK: Survival Evolved Dinosaur taming survival. Dedicated server requires both TCP and UDP. Highly customizable via INI configs.
TCP+UDP · 7777
🌿 Rust Harsh open-world survival with full base building and PvP. One of the most popular self-hosted server games.
TCP+UDP · 28015
🧟 7 Days to Die Post-apocalyptic zombie survival with tower defence. Dedicated server free via Steam. Highly moddable.
TCP+UDP · 26900
🧠 Project Zomboid Isometric zombie survival RPG. Free dedicated server tool on Steam. Supports large mod collections.
UDP · 16261
🏰 Conan Exiles Barbarian survival in the Conan universe. Full dedicated server support with deep settings customisation.
TCP+UDP · 7777
🧛 V Rising Vampire survival RPG. Dedicated server via SteamCMD. UDP for gameplay, TCP for RCON management.
UDP · 9876
🌲 Enshrouded Fantasy survival and crafting on voxel terrain. Free dedicated server on Steam. Up to 16 players.
UDP · 15636
🚁 DayZ Hardcore zombie post-apocalypse survival. Full dedicated server support. Large modding community.
TCP+UDP · 2302
Pro tip for survival game servers

Survival games generate persistent world saves. Before starting a session, make sure your PC has an SSD for faster world chunk loading, and keep regular backups of the save folder. Most dedicated server tools store saves in a Saves or Worlds subdirectory.

🧱 Sandbox & Building Games

Sandbox games are ideal for self-hosting because private servers let you set your own rules, install mods freely, and maintain a persistent world only your group plays on something public servers can't guarantee.

⛏️ Minecraft Java Edition The most self-hosted game in the world. Free server.jar, enormous mod ecosystem via Forge and Fabric.
TCP · 25565
📱 Minecraft Bedrock Cross-platform Minecraft for Windows, mobile, and consoles. Bedrock Dedicated Server (BDS) is free.
UDP · 19132
🏗️ Terraria Classic 2D sandbox adventure. Lightweight server, great for low-spec machines. tModLoader adds mod support.
TCP · 7777
🏭 Satisfactory First-person factory automation. Official free dedicated server on Steam, easy to set up and configure.
UDP · 15777
⚙️ Factorio Co-operative factory building and automation. Dedicated server included with the game at no extra cost.
UDP · 34197
🚀 Space Engineers Physics-based space sandbox. Dedicated server available free on Steam. Supports large multiplayer worlds.
UDP · 27016
🛸 Stationeers Deep engineering survival simulation. Dedicated server available. Suitable for technical player groups.
TCP+UDP · 27500
🪓 Eco Civilization-building simulation with ecology mechanics. Free dedicated server. Great for community play.
TCP+UDP · 3001
🌾 Farming Simulator 25 Cooperative farming simulation. Dedicated server runs on Windows or Linux. TCP and UDP required.
TCP+UDP · 10823

🎯 Shooters, Action & Multiplayer Games

Action and shooter titles typically rely on UDP for the lowest possible latency on player movement and hit registration. Hosting your own server lets you control maps, game modes, tick rate, and player settings without relying on official matchmaking.

🔫 Counter-Strike 2 Host community servers with custom maps and rules via SteamCMD. Used widely for private league matches.
UDP · 27015
🧩 Garry's Mod Sandbox physics game running on the Source engine. Massive workshop, supports hundreds of game modes.
UDP · 27015
🏃 Left 4 Dead 2 Cooperative zombie shooter on Source engine. Dedicated server via SteamCMD. Great for campaign groups.
UDP · 27015
Team Fortress 2 Classic team-based shooter. Free dedicated server. Community servers have kept TF2 alive for over a decade.
UDP · 27015
🏹 Halo Infinite Dedicated server support for custom game modes and private matches. Uses Unreal-compatible UDP stack.
TCP+UDP · 7500
🌌 Starbound 2D space exploration sandbox. Simple dedicated server setup, supports many players and mods simultaneously.
TCP · 21025
⚔️ Mordhau Medieval melee multiplayer. Community server support via Unreal Engine dedicated server tools.
UDP · 7777
🛡️ Insurgency: Sandstorm Tactical infantry shooter. Free dedicated server on Steam. Supports private matches and custom scenarios.
UDP · 27102
Source Engine games (CS2, Garry's Mod, TF2, L4D2)

All Source engine games use the same default port: 27015 UDP for game traffic and 27005 UDP for the client. If you run multiple Source servers on the same machine, increment the port number for each instance (27015, 27016, 27017...) and create a separate tunnel for each.

🧠 Strategy, RPG & Indie Multiplayer Games

Strategy and indie games often have smaller but highly dedicated player communities that benefit most from private self-hosted servers full control over game speed, difficulty, mods, and which players can join.

🔭 Barotrauma 2D co-op submarine survival horror. Built-in server hosting. Perfect for small close-knit groups.
UDP · 27015
🌊 Raft Ocean survival on a drifting raft. Session-based co-op  the host's PC runs the server directly.
TCP+UDP · 25444
🏔️ Green Hell Realistic jungle survival game with full co-op mode. The host's client acts as the server.
UDP · 7777
🌐 Core Keeper Underground mining sandbox with co-op. Dedicated server available for persistent world hosting.
TCP+UDP · 27015
🌙 Don't Starve Together Multiplayer survival. Free dedicated server software included. Excellent mod support via Steam Workshop.
TCP+UDP · 10999
Astroneer Planetary exploration and automation. Dedicated server available on Steam for persistent co-op worlds.
TCP+UDP · 8777

General Setup | Works for Any Game

The process is identical for all games listed above. Install the dedicated server software, run the Localtonet client, create a matching tunnel, and share the relay address with your friends.

1

Download and run the game's dedicated server software

Most games provide a free dedicated server tool in Steam under Library → Tools (search for "[GameName] Dedicated Server"). Others use SteamCMD. Start the server software and note the local IP (127.0.0.1) and port it listens on from the game's documentation.

2

Install and authenticate the Localtonet client

Download the Localtonet client for your OS (Windows, Linux, macOS, Android, Docker) from localtonet.com/download. Run it with your AuthToken from the My Tokens page in the dashboard. The client authenticates your device and connects to the relay network.

3

Create a TCP, UDP, or TCP+UDP tunnel in the dashboard

Open the TCP-UDP tunnel page at localtonet.com. Select the correct Protocol Type for your game (see the Quick Reference table below). Choose your AuthToken, select a server region close to your players, enter 127.0.0.1 as IP and your game's port number, then click Create.

4

Start the tunnel and share the relay address

Click Start in the tunnel list. Localtonet will display a public relay address in the format example.localto.net:XXXXX. Share this with your friends they enter it exactly as shown in the game's "Direct Connect" or "Add Server" screen.

5

(Optional) Reserve your port for a permanent address

Free plan tunnels may receive a new port after each restart. Go to Setting in the TCP-UDP tunnel page to reserve a port. Your address stays the same every session share it once and it never changes again.

Minecraft Dedicated Server | Complete Walkthrough

Minecraft Java Edition is the most popular game for self-hosted servers in the world. The server software is free, runs on any OS, and supports mods via Forge, Fabric, and Paper. A mid-range PC comfortably handles 5–15 players. Here's the complete setup.

A Set Up the Minecraft Java Server

Free · server.jar
1

Download server.jar

Get the latest server.jar from minecraft.net and place it in a new dedicated folder (e.g. C:\MinecraftServer).

2

Run it once and accept the EULA

Run java -jar server.jar. It generates config files then stops. Open eula.txt and change eula=false to eula=true, then save.

3

Start the server

Run the jar again. The server starts on 127.0.0.1:25565. Wait for the message "Done! For help, type 'help'". Keep this window open while the tunnel is running.

B Create the Localtonet TCP Tunnel

TCP · Port 25565
1

Authenticate your device

Log in at localtonet.com, go to My Tokens, copy your AuthToken. Run the Localtonet client and enter the token when prompted.

2

Configure the tunnel

Navigate to localtonet.com/tunnel/tcpudp. Set Protocol: TCP  ·  IP: 127.0.0.1  ·  Port: 25565. Select your AuthToken and preferred server region. Click Create.

3

Start the tunnel and connect

Press Start. Copy the relay address shown (e.g. example.localto.net:43218). Friends open Minecraft → MultiplayerAdd Server → paste the address → Join. Done.

Security reminder

Your tunnel is publicly accessible to anyone by default. Share the relay address only with players you trust. On a paid Localtonet plan, use IP Restrictions to whitelist specific IP addresses, ensuring only your friends can connect regardless of whether the address leaks.

Complete Port & Protocol Quick Reference

Use this table as your go-to reference when setting up a Localtonet tunnel for any game. Match the Tunnel Type column exactly when creating your tunnel in the dashboard.

Game Genre Default Port(s) Tunnel Type
Minecraft Java EditionSandbox25565TCP
Minecraft Bedrock EditionSandbox19132UDP
PalworldSurvival8211UDP
ValheimSurvival2456UDP
Counter-Strike 2Shooter27015UDP
Garry's ModSandbox27015UDP
Team Fortress 2Shooter27015UDP
Left 4 Dead 2Co-op Shooter27015UDP
ARK: Survival EvolvedSurvival7777 + 27015TCP+UDP
RustSurvival28015TCP+UDP
7 Days to DieSurvival26900TCP+UDP
Project ZomboidSurvival RPG16261UDP
Conan ExilesSurvival7777TCP+UDP
V RisingSurvival RPG9876UDP
EnshroudedSurvival15636UDP
TerrariaSandbox7777TCP
FactorioStrategy34197UDP
SatisfactorySandbox15777UDP
Space EngineersSandbox27016UDP
Don't Starve TogetherSurvival10999TCP+UDP
BarotraumaCo-op RPG27015UDP
StarboundSandbox21025TCP
EcoStrategy3001TCP+UDP
Farming Simulator 25Simulation10823TCP+UDP
MordhauAction7777UDP
AstroneerExploration8777TCP+UDP
Minecraft Java
Port25565TunnelTCP
Palworld
Port8211TunnelUDP
Valheim
Port2456TunnelUDP
Counter-Strike 2
Port27015TunnelUDP
ARK: Survival Evolved
Ports7777 + 27015TunnelTCP+UDP
Rust
Port28015TunnelTCP+UDP
7 Days to Die
Port26900TunnelTCP+UDP
Project Zomboid
Port16261TunnelUDP
V Rising
Port9876TunnelUDP
Enshrouded
Port15636TunnelUDP
Terraria
Port7777TunnelTCP
Factorio
Port34197TunnelUDP

Localtonet vs. Other Tunneling Tools for Game Servers

Several tunneling services exist, but UDP support is the critical differentiator for game server hosting. Most tools simply don't support it.

Feature ngrok Hamachi ZeroTier playit.gg Localtonet
TCP tunnels
UDP tunnels
TCP+UDP mixed~~
HTTP/HTTPS tunnels
No software for friends
Custom domains
REST API
Works behind CGNAT~~
Android native app
Price$10+/mo$49/yrFree/Paid$3/mo$2/tunnel/mo
ngrok
UDP✘ Not supportedPrice$10+/mo
Hamachi
UDP✔ SupportedPrice$49/yr
playit.gg
UDP✔ SupportedPrice$3/mo
Localtonet
UDP✔ SupportedPrice$2/tunnel/mo

Performance Tips for Game Server Hosts

🌍 Choose a Relay Region Closest to Your Players

When creating your Localtonet tunnel, select the relay server region closest to your players not necessarily closest to you. A relay in Frankfurt cuts latency for European players even if the host is in Asia. This is the single biggest latency improvement you can make.

🔌 Use Wired Ethernet on the Hosting Machine

Wi-Fi introduces variable latency and occasional packet drops that compound severely in real-time multiplayer games. Connect the hosting PC to your router via Ethernet cable. Players notice the difference immediately, especially in CS2, Valheim, and ARK.

📌 Reserve a Port for Regular Sessions

Free plan tunnels may receive a new port number after each restart. Use Localtonet's Port Reservation add-on to lock your address permanently. Share the address once with your friend group it never changes.

👥 Set Player Slot Limits Based on Your Upload Speed

Each active player consumes roughly 1–2 Mbps of upload bandwidth for most survival and sandbox games. Run a speed test (fast.com or speedtest.net), check your upload result, and set the server's max player slots accordingly. Most residential connections comfortably support 5–15 players.

🔒 Use IP Restrictions for Private, Invite-Only Servers

Paid Localtonet plans include IP Restriction settings. Collect your friends' public IPs (they check at whatismyip.com) and whitelist only those addresses. Your server becomes completely invisible and unreachable to anyone not on the list no password needed.

💾 Keep Backups of Your World/Save Files

Tunneling doesn't protect against data loss. For games with persistent worlds (Minecraft, Valheim, ARK, Rust), schedule regular backups of the save folder. Many dedicated server tools have a built-in backup interval setting enable it.

Frequently Asked Questions

Can I host a Minecraft, Palworld, or Valheim server at home without port forwarding?

Yes. Localtonet creates an encrypted tunnel from your PC to a public relay. Friends connect to the relay address no port forwarding, no static IP, and no router configuration is needed on your end at all.

Do my friends need to install Localtonet too?

No. Only the host (you) needs Localtonet installed. Friends simply connect to the relay address you share, exactly as they would connect to any normal game server.

Does Localtonet work behind CGNAT or mobile data?

Yes. All Localtonet connections are outbound from your device, bypassing both NAT and CGNAT entirely. The Localtonet Android app also lets you host directly from a smartphone on mobile data.

My game uses UDP will Localtonet support it?

Yes. Localtonet fully supports UDP tunnels. This is a significant advantage over most competing services notably ngrok, which does not support UDP at all. Select UDP (or TCP+UDP for games that need both) when creating the tunnel in the dashboard.

What happens to my server address when I restart the tunnel?

On a free plan, the public port may change after each restart. Reserving a port (an Add-on feature on paid plans) locks your address permanently the same address is assigned every time you start the tunnel.

How many players can I host?

Localtonet places no player limit it forwards all traffic through the tunnel. The real limit is your PC's CPU, RAM, and your internet upload speed. A rough guide: most games need 1–2 Mbps upload per player. A 20 Mbps upload connection can comfortably support 10–15 active players.

Is there a bandwidth limit on Localtonet?

Paid plans include unlimited bandwidth at $2 per tunnel per month. The free tier has usage limits that may affect extended gaming sessions with multiple players, so long-running servers are best on a paid plan.

Can I run multiple game servers on the same machine?

Yes. Create one Localtonet tunnel per server, each pointing to a different local port. For example, a Minecraft server on port 25565 and a Valheim server on port 2456 can both run simultaneously, each with its own public relay address.

Ready to Host Your Own Game Server?

Install Localtonet, create a TCP or UDP tunnel matching your game's protocol, and share the relay address. Your server can be live in under five minutes no port forwarding, no static IP, no monthly hosting bill.

Get Started Free →
💰 Free plan available  |  $2 per tunnel / month (paid)  |  Unlimited bandwidth on paid plans
host game server without port forwarding minecraft server no port forwarding palworld dedicated server at home valheim server friends play together tcp udp tunnel game server localtonet game server self host game server 2026 game server behind cgnat

Localtonet is a secure multi-protocol tunneling and proxy platform designed to expose localhost, devices, private services, and AI agents to the public internet supporting HTTP/HTTPS tunnels, TCP/UDP forwarding, mobile proxy infrastructure, file server publishing, latency-optimized game connectivity, and developer-ready AI agent endpoint exposure from a single unified control plane.