Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
Redmond desk10 min

How to Make an Unturned LAN Server (Windows and Linux)

Install U3DS, launch the server with +LanServer, configure Commands.dat, and let friends join your Unturned world over the same local network without port forwarding.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To make an Unturned LAN server, install the separate Unturned Dedicated Server (U3DS) tool, launch it with +LanServer/<ServerID>, wait for Loading level: 100%, then invite players through Steam or give them the newly generated Server Code. Everyone must be on the same local network. A LAN-only server does not need port forwarding.

What an Unturned LAN server does

A LAN server runs the game world on one computer and makes it available to players on the same home, school, or office network. The host computer runs the dedicated server process; players connect with their normal Unturned clients. This is different from hosting a regular peer-to-peer session because the world, settings, save data, and player limit are controlled by the dedicated-server files.

As an Amazon Associate I earn from qualifying purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

LAN mode is appropriate when every player is physically or wirelessly connected to the same router. It is not a way to let someone on another network join by your home IP address. Internet access requires a separate server mode and network configuration.

  • Supported hosting systems: Windows and Linux.
  • Unsupported hosting system: macOS hosting is not supported by the setup documentation.
  • Required software: U3DS, installed separately from the game client.
  • Required network: all players on the same local network for LAN play.
  • Port forwarding: not required for a strictly local server.

Choose an installation method

Method Best for What it provides
Steam Library Most first-time hosts A graphical installation of the separate U3DS tool with minimal command-line work.
SteamCMD Administrators, scripted setups, and multiple servers Command-line installation, updating, validation, and easier automation.

Both methods install the same dedicated-server software. Choose one; you do not need to install both.

#1 Best Overall
Sale
LAPGEAR Home Office Pro Lap Desk - Black Carbon, Fits 15.6” Laptops | Built-In Mouse Pad & Phone Slot, Wide Cushioned Wrist Rest, Dual-Bolster Microbead Cushion, Carry Handle
  • Spacious Design: Measuring 21.1" wide and 14.1" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy ergonomic support with the integrated cushioned wrist rest.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a sleek black carbon color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.8 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.

Install U3DS from Steam

Install the dedicated-server tool

  1. Open Steam on the computer that will remain available as the host.
  2. Open your Library and locate the separate Unturned Dedicated Server tool (U3DS), rather than launching the ordinary Unturned game entry.
  3. Install the tool. The server files are installed independently of the game client.
  4. Open the U3DS installation folder. You will use this folder to create the launch script and edit the generated server configuration.

The host does not need to be a second computer, but running the server and the game on the same machine uses additional memory, processor time, and network capacity. For a small group, that arrangement can work; a separate host leaves the player’s computer more resources for the game.

Install or update U3DS with SteamCMD

SteamCMD is useful when you want a repeatable installation, unattended updates, or several server folders. Start SteamCMD and run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
login anonymous
app_update 1110390
quit

The downloaded files are placed under steamapps/common/U3DS/. To update an existing installation, run app_update 1110390 again. To check and repair the installed files, append validate:

app_update 1110390 validate

After SteamCMD finishes, change to the U3DS directory before creating the launch command. The same U3DS files can host different worlds by using different ServerID values.

Launch the server in LAN mode

The launch argument is the detail that determines whether the server is local: use +LanServer/<ServerID>. Do not substitute the Internet-server argument when you only want players on your local network.

Windows launch script

In the U3DS folder, create a file ending in .bat, such as start-lan.bat, with this content:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
start "" "%~dp0 ServerHelper.bat" +LanServer/MyServer

MyServer is the ServerID. Replace it with a short identifier that describes this world, for example FamilyLAN or WeekendWorld. The value is not the public server name; it selects the saved-data and configuration folder. Using a different ServerID creates a separate server setup rather than overwriting the first one.

Double-click the batch file to start the server. Keep the console window open while the server is running.

Linux launch command

From the U3DS directory, run:

./ServerHelper.sh +LanServer/MyServer

Use the same ServerID rules as on Windows. If the shell reports that the script cannot be executed, check that you are in the U3DS directory and that the script has execute permission before trying the command again.

Complete the first startup

On its first launch, U3DS creates the server folders and files. Do not try to connect while the world is still loading. Wait for the console to show:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Loading level: 100%

Once that message appears, the world has finished loading and the server is ready for configuration or connections. If you are setting up files before inviting anyone, type Shutdown in the server console to close it safely. This gives you a clean stopping point before editing settings.

Find and edit the generated server files

Server data is stored below:

U3DS/Servers/<ServerID>/

For the server named MyServer, the main settings file is:

Rank #3
Sale
Yilador Webcam Cover 3 Pack, 0.03 inch Ultra Thin Laptop Camera Cover Slide | Camera Blocker Slider for iPhone iPad MacBook Pro Computer iMac Cell Phone PC Laptop Accessories, Great for Privacy, Black
  • Note: Not suitable for MacBooks released after 2023 or devices with a protruding front camera; Not applicable to full-screen or notch-style tempered glass screen protectors; Do not use on the rear camera of the phone.
  • 💻 Why Do You Need a Webcam Cover Slide? — Safeguard your privacy by covering your webcam with our reliable webcam cover when not in use. Don't let anyone secretly watch you. Stay protected!
  • ✅ Thin & Stylish — Enhance your laptop's functionality and aesthetics with our 0.027" ultra-thin webcam covers. Seamlessly close your laptop while adding a touch of sophistication.
  • ✅ Fits Most Devices — Compatible with laptops, phones, tablets, desktops! Keep your privacy intact on Ap/ple, Mac/Book, iPh/one, iP/ad, H/P, L/novo, De/ll, Ac/er, As/us, Sa/msung devices.
  • ✅ 365 Days Protection — Our upgraded 3.0 adhesive ensures a strong hold that won't damage your equipment. Experience reliable, long-term privacy protection day in and day out.
U3DS/Servers/MyServer/Server/Commands.dat

Commands.dat uses one command per line. Most settings should be changed while the server is closed, then applied on the next launch. Keep a backup copy before making major changes so you can restore a known-good configuration.

Core Commands.dat settings

Line Effect Important detail
Name My Unturned Server Sets the server’s displayed name. Use the name players should recognize in invitations or server listings.
Map PEI Selects the map. The map name must be valid. A misspelled or unavailable map prevents the intended world from loading.
MaxPlayers 24 Sets the player limit. Replace 24 with the maximum number your host and network can handle.
Owner YourSteamID64 Assigns ownership privileges. Replace the example text with the owner’s numeric SteamID64.
Password ExamplePassword1234 Requires a password to join. Give the password only to the people who should enter the server.
PvE Enables player-versus-environment rules. Use this when players should cooperate without normal player-versus-player combat.
Perspective Both Allows both supported camera perspectives. Choose the perspective policy appropriate for your group.
Port 27015 Sets the server port. For LAN play, leave the port at its normal value unless another local service requires a different arrangement.

The documentation also supports a cheats setting in Commands.dat. Treat cheats as a deliberate group decision: enabling them changes the rules of the world and may affect the experience for every connected player.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

After editing, save the file, launch the same ServerID again, and watch the console for a complete startup. If you change the map, password, owner, player limit, or other server rule while the process is running, the change may not apply until you shut down and restart.

Install Workshop maps and mods

Workshop content is configured separately in:

U3DS/Servers/<ServerID>/WorkshopDownloadConfig.json

Add the Steam Workshop file IDs for the maps or mods you want the server to install. During startup, U3DS downloads the listed items and their dependencies. Players who join then download the required content automatically.

A Workshop map still needs a valid map selection in Commands.dat. Listing a Workshop ID alone does not replace the map setting. If a custom world fails to load, check both the map name and the Workshop configuration, then restart after correcting the files.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Let friends join the LAN server

Check the local network first

Every player must be connected to the same home or office network as the host. A wired host and Wi-Fi players can normally share the same LAN, provided the router permits devices to communicate with one another. A guest Wi-Fi network may isolate its clients from the host, so move everyone to the primary network if the server cannot be discovered.

Rank #4
AboveTEK Portable Laptop Lap Desk w/Retractable Left/Right Mouse Pad Tray, Non-Slip Heat Shield Tablet Notebook Computer Stand Table w/Sturdy Stable Work Surface for Bed Sofa Couch or Travel
  • Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
  • Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
  • Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
  • EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
  • Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.

Use a Steam invitation

Once the console has reached Loading level: 100%, invite friends through Steam. The invitation is the simplest option when everyone is already connected through Steam and the server is visible on the same LAN.

Use the Server Code

U3DS creates a 17-digit Server Code for the running server. Give that code to your friends, who can enter it through Unturned’s Connect Directly option. Copy the code from the current launch: it can change each time the server starts, so an old code may stop working after a restart.

The Server Code is not the host computer’s local IP address and is not a substitute for the +LanServer/ launch argument. It is a connection method generated for the active server session.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Save the world and stop the server safely

Unturned does not provide built-in autosave for this dedicated-server setup. Saving is therefore a manual responsibility for the host.

  • While the server is running, type Save in the server console before a planned restart.
  • To save and close cleanly, type Shutdown.
  • Do not terminate the process or power off the host while players are active unless you accept the risk of losing progress since the last save.

A practical routine is to save before changing files, before operating-system updates, and before ending a play session. Start the same ServerID afterward so the server reopens the same world and configuration.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

LAN versus Internet hosting

Port forwarding is not part of a local-only setup. Do not open router ports merely because you are running a dedicated server on your own network.

Best Value
Sale
LAPGEAR Home Office Lap Desk – Pink, Fits 15.6” Laptops
  • Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
  • Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
  • Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
  • Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
  • On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
Requirement LAN-only server Direct Internet server
Players Must be on the same local network. Can be outside the local network.
Launch mode +LanServer/<ServerID> A separate Internet-server configuration, not the LAN argument.
Port forwarding Not needed. Needed when using direct access by IP or domain.
Router ports No WAN rule required. Forward two consecutive UDP ports to the host’s local IPv4 address; the default pair is UDP 27015 and UDP 27016.
Authentication/network setup No Internet hosting token is required for the local mode described here. The current setup documentation describes a Game Server Login Token and either Fake IP or port forwarding.
Server Code Generated for the active LAN launch and may change after relaunching. Internet hosting follows its own setup and connection requirements.

If one friend is outside your network, changing the launch line to an Internet mode is not enough by itself. You must follow the separate Internet-hosting requirements, including authentication and either Fake IP or the two-port forwarding arrangement. Those changes are unnecessary for a group playing in one home.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Wi-Fi or wired Ethernet?

Connection Advantages Potential issue
Wi-Fi Easy to place the host and players anywhere within coverage. Interference, distance, or a guest-network isolation rule can prevent discovery or make the connection less stable.
Wired Ethernet Usually provides a more consistent link for a stationary host and several simultaneous players. The host must be near a network cable or switch.

Both can work for LAN play. If discovery is unreliable, test with the host on Ethernet and all players on the primary router network before changing server files.

Troubleshoot a server that friends cannot join

The server does not appear

  • Confirm that every player is on the same LAN, not a different router, mobile hotspot, or isolated guest network.
  • Wait for the console to report Loading level: 100%; discovery is not a sign that the world is ready before that point.
  • Check the launch script for +LanServer/<ServerID>. A script using +InternetServer/<ServerID> is not a LAN launch.
  • Restart the server and have players look again after the new startup has completed.

The Server Code no longer works

Obtain the code from the current server session and send the entire 17-digit value again. The code can change after every launch, so a code copied during a previous session may be obsolete.

The wrong map loads or startup fails

  • Open Server/Commands.dat in the folder for the exact ServerID used by the launch script.
  • Verify that the Map value is a valid map name.
  • For a Workshop map or mod, verify that its file ID is present in WorkshopDownloadConfig.json and allow the server to install it during startup.
  • Correct the file while the server is closed, save it, and launch again.

Players are asked for a password

Check whether Commands.dat contains a Password line. Give players the exact password, including capitalization, or remove the line while the server is stopped if the world should be open.

Progress disappeared

The dedicated server does not autosave. Save with the console’s Save command before restarts and use Shutdown for a clean close. Make sure you relaunch the same ServerID; a different identifier opens a different saved-data and configuration folder.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A Windows or Linux command does nothing

  • On Windows, place the batch file in the U3DS folder and preserve the quoted ServerHelper.bat path.
  • On Linux, run the command from the U3DS directory and use ./ServerHelper.sh, including the leading ./.
  • Confirm that the U3DS installation completed successfully; SteamCMD’s validate option can repair missing or damaged files.

A reliable first-session checklist

  1. Install U3DS separately from the ordinary Unturned game on a Windows or Linux host.
  2. Choose a ServerID and create the Windows batch file or Linux launch command with +LanServer/<ServerID>.
  3. Launch once to generate U3DS/Servers/<ServerID>/, wait for Loading level: 100%, and use Shutdown.
  4. Edit Server/Commands.dat for the name, map, player limit, owner, password, PvE, perspective, and port.
  5. Add Workshop file IDs to WorkshopDownloadConfig.json if the world uses custom content.
  6. Launch again and keep the console open.
  7. Confirm that all players are on the same LAN.
  8. Invite them through Steam or send the newly generated 17-digit Server Code for Connect Directly.
  9. Use Save during the session and Shutdown when ending it.

For a household or other single-network group, this is the complete path: U3DS, the LAN launch argument, generated configuration files, and a current invitation or Server Code. Only switch to Internet-hosting instructions when players genuinely need to connect from outside the local network.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Crashes, No Sound, or Screen Glitches?Free driver scan
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.