Security

How to Let Friends Join Your Home Server Safely

Passwords, admin access, ARK whitelisting with -exclusivejoin and EOS IDs, Palworld admin and REST API safety, firewall scope, and the ports you should never open.

· 12 min read

Opening a game port on your home router is a normal thing to do, and it is not especially dangerous if you open only the right ports. The real risks are small and avoidable: a leaked admin password, an admin interface exposed to the internet, a stranger finding the server, and your home IP address ending up somewhere public.

This guide covers the controls that matter for ARK: Survival Ascended (ASA) and Palworld on Windows, in the order that gives you the most protection per minute spent.

1. Use a join password, and a separate admin password

Both games have two different passwords, and they should never match.

  • Join password (ServerPassword) is what your friends type to connect. It can be shared with the group.
  • Admin password (ServerAdminPassword in ASA, AdminPassword in Palworld) unlocks admin commands. In ASA the wiki says players must enter it in the in-game console to get administrator commands. Share it with nobody, or only with a co-admin you trust.

A password manager makes unique, long passwords painless. If you paste logs or screenshots when asking for help, check them for your passwords first.

2. Forward only what players need

Server Forward on the router Never forward
ASA UDP 7777 (plus 27015, 7778 if you use them) TCP 27020 (RCON)
Palworld UDP 8211 TCP 8212 (REST API), TCP 25575 (RCON)
Windows itself nothing TCP 3389 (Remote Desktop), 445 (file sharing)

Pocketpair’s docs state that the RCON and REST interfaces are not meant to be exposed to the internet. The REST API in particular can save, kick, ban, and shut down the server with just the admin password.

The port plan is in ARK ASA Ports Explained.

Check what is really open. Log in to your router and look at the port-forward list. The only entries that should exist are your game ports. Then, on the PC, list what is listening:

netstat -ano -p TCP | findstr LISTENING

Listening is not the same as reachable from the internet, because the router and Windows Firewall sit in between. It tells you what a rule mistake could expose.

3. Keep admin interfaces on your own network

If you use RCON or the Palworld REST API from another PC at home, scope the Windows Firewall rule to your local network:

New-NetFirewallRule -DisplayName "Palworld REST (LAN only)" -Direction Inbound -Protocol TCP -LocalPort 8212 -RemoteAddress LocalSubnet -Action Allow
New-NetFirewallRule -DisplayName "ASA RCON (LAN only)" -Direction Inbound -Protocol TCP -LocalPort 27020 -RemoteAddress LocalSubnet -Action Allow

LocalSubnet means only machines on your own network can connect. If you do not use these interfaces, leave them disabled in the settings.

4. ASA: restrict who can join

A password is the simplest protection. ARK also supports a whitelist of player IDs, and it uses the Epic Online Services ID, a 32-character string, not a Steam ID.

Find a player’s ID. Have them join the server, open the in-game console, and type whoami. The wiki also lists cheat ListPlayers for admins.

Turn the whitelist on. Add -exclusivejoin to your start script’s options, for example:

ArkAscendedServer.exe TheIsland_WP?listen?SessionName=MyHomeServer?ServerPassword=ChangeThisJoinPassword?ServerAdminPassword=ChangeThisAdminPassword -port=7777 -WinLiveMaxPlayers=20 -exclusivejoin

Then put each allowed ID on its own line in this file, creating it if it does not exist:

C:\asa-server\ShooterGame\Binaries\Win64\PlayersExclusiveJoinList.txt

Restart the server after editing the list. If you have a join password set, whitelisted players still need it.

Two cautions:

  • Test it. Whitelist behavior has changed across ASA builds, and some community reports have shown problems. The wiki says -exclusivejoin works on ASA. Try joining with an account that is not on the list before you rely on it.
  • PlayersJoinNoCheckList.txt is not a whitelist. It only lets listed players bypass the player cap.

5. ASA: admins without sharing the admin password

Instead of handing out the admin password, the wiki documents an admin list. Put EOS IDs, one per line, in:

C:\asa-server\ShooterGame\Saved\AllowedCheaterAccountIDs.txt

Listed players can use admin commands without the password. You can take it away by removing the line, which is easier than changing a shared password.

To remove a troublemaker, admins can use the cheat BanPlayer console command with the player’s ID. Check the wiki’s console command list for current syntax.

6. Palworld: what you can and cannot restrict

Palworld has a server password and an admin password, and the community listing is optional.

  • A server password is your main control. Set ServerPassword in PalWorldSettings.ini.
  • Do not use -publiclobby for a private server. That option advertises the server in the Community Servers list. You only need it if players on console need to find the server by name, and you accept that it is listed.
  • CrossplayPlatforms controls which platforms may join. Its default is Steam, Xbox, PS5, and Mac. Trimming it to the platforms your friends really use shrinks who can connect.
  • Admin commands in game need the AdminPassword. Keep it to yourself.
  • To remove someone, use the in-game admin tools or the REST API’s ban endpoint from your own network. Check the API reference for the exact call.

Leave RESTAPIEnabled and RCONEnabled set to False unless you actually use them.

7. Protect your home IP address

Players need an address to connect to, which means they learn your public IP. That is normal, but you can limit the exposure:

  • Share the address privately, in a direct message or friend-only chat, not on a public Discord or forum post.
  • A dynamic DNS name lets you give friends a hostname that follows your IP when it changes.
  • If you do not want your home IP involved at all, a VPN with port forwarding puts a different address in front of the server. See How to Port-Forward a Game Server Through a VPN. A rented server is the other option. See Self-Host vs Paid Hosting.

8. Keep the machine itself tidy

  • Run the server under a normal Windows user, not your daily administrator account, if you can. Task Scheduler can run it as a limited account.
  • Keep Windows and the game updated. See How to Keep a Home Game Server Online 24/7.
  • Do not browse the web or play on the server PC more than necessary.
  • Keep backups, so griefing or a mistake costs you an evening, not the world.

9. One licensing rule for ASA

The ARK wiki summarizes the ASA end-user license agreement: dedicated servers are for personal, non-commercial use unless you obtain a dedicated server license from Nitrado. Donations are fine only when the donor receives nothing of value in return. Do not sell ranks, items, or priority access, even to friends.

Checklist

  • Join password set, admin password different and private
  • Only the game UDP ports forwarded on the router
  • RCON, REST API, and Remote Desktop not forwarded
  • Admin interfaces limited to the local network
  • ASA whitelist or admin list set up and tested, if you use them
  • Address shared privately
  • Windows and the game updated, backups running

What to do next

If you have not yet set up scheduled backups and start-on-boot, do that next with How to Keep a Home Game Server Online 24/7. The free tools on this site can help with day-to-day management of ASA and Palworld servers.