keepcalculator

06 Numbers and Powers

Conan Exiles Server Security: Ports, Passwords & BattlEye

Card No. 06·72993 · Updated · Standard formula, shown below

Securing a Conan Exiles dedicated server involves more than just setting a password. This guide covers locking down the necessary ports, enforcing strong passwords, configuring BattlEye anti-cheat correctly, and applying ongoing hardening practices to keep your server stable and your community safe. You will need administrative access to your server machine and the ability to edit the server configuration files.

What You’ll Need

  • Administrative access to the machine running the Conan Exiles server (Windows or Linux).
  • Access to your router’s admin panel (if the server is behind a home router).
  • A text editor (Notepad++, VS Code, or nano).
  • The server files installed, either via SteamCMD or the dedicated server launcher.
  • Basic familiarity with firewall rules and TCP/UDP ports.

Step-by-Step

  1. Identify the required ports. Conan Exiles uses the following ports by default:
    • 7777 UDP – Game port (primary).
    • 7778 UDP – Game port (second, used for some features).
    • 27015 UDP – Steam query port (for server listing).
    • 25575 TCP – RCON port (remote admin, optional but recommended to change).
  2. Change the default RCON port. In the ServerSettings.ini file (located in ConanSandbox/Saved/Config/WindowsServer/ or LinuxServer/), set ServerAdminPort=25575 to a random high port like 28910. This reduces automated attacks on the known default.
  3. Set a strong server password. In the same ServerSettings.ini, find ServerPassword and set it to a long, mixed-case password with numbers and symbols (e.g., V8!xQp2#Lm9$zR4). Avoid dictionary words. Ensure ServerPasswordEnabled=True.
  4. Set an admin password. Set AdminPassword to a different, equally strong password. This is used to log in as admin via the in-game console. Never reuse the server password.
  5. Enable BattlEye. In ServerSettings.ini, set ServerBattlEye=True. If you are using a hosting panel, ensure the BattlEye option is ticked. BattlEye must be enabled on the server and the client must have it enabled (it is default in the game launcher).
  6. Configure firewall rules. Open only the ports you need. On Windows, use Windows Defender Firewall with Advanced Security. On Linux, use ufw or iptables. Allow incoming UDP on 7777, 7778, and 27015, and TCP on your custom RCON port. Block all other unsolicited inbound traffic.
  7. Port forward on your router (if applicable). Log into your router, find port forwarding, and forward the same UDP ports (7777, 7778, 27015) to the server’s local IP address. Do not forward the RCON port unless you absolutely need external admin access; if you do, use a non-default port.
  8. Keep the server updated. Regularly run SteamCMD to update the server to the latest version. Outdated servers have known vulnerabilities. Set up a weekly update schedule.
  9. Backup configuration and world files. Copy the ConanSandbox/Saved/ folder (which contains worlds and config) to a safe location. Automate this daily if possible. This ensures you can restore quickly after a compromise or corruption.
  10. Monitor server logs. Check the server log file (ConanSandbox.log) periodically for suspicious activity, such as repeated failed admin logins or unusual chat messages. Consider using a log parser.
  11. Use a whitelist (optional). In ServerSettings.ini, set ServerWhitelistEnabled=True and add player Steam IDs to ServerWhitelist (comma-separated). This restricts access to known players.
  12. Disable unused features. If you don’t need RCON, set ServerAdminPort=0 to disable it entirely. Similarly, if you don’t want the server to appear in the public list, set ServerIsPublic=False (but this also hides it from friends).

Common Mistakes

  • Using default ports. Leaving RCON on 25575 makes it easy for attackers to attempt brute force.
  • Weak passwords. Using simple passwords like “admin” or “1234” is an open invitation.
  • Forgetting to update BattlEye. BattlEye updates automatically with the server, but if you manually patch, you might miss it. Always use the latest server files.
  • Opening all ports. Forwarding a wide range (e.g., 1-65535) exposes other services on your network.
  • Ignoring firewall logs. Not reviewing logs means you won’t notice intrusion attempts.
  • Sharing admin password. Giving the admin password to players who don’t need it is a common security hole.

Tips

  • Use a separate machine or VM for the game server to isolate any compromise from your main network.
  • Enable two-factor authentication on your hosting provider account (if applicable).
  • Regularly change the admin password (e.g., every 30 days).
  • Use a VPN for remote administration instead of exposing RCON to the internet.
  • Keep a copy of the server configuration in a version control system like Git to track changes and revert if needed.
  • For Linux servers, run the server as a non-root user with minimal permissions.

Troubleshooting

Players can’t connect. Check that the firewall allows the UDP ports, the router forwards them, and the server is actually running. Use netstat -an (Windows) or ss -ulpn (Linux) to verify listening ports.

BattlEye fails to initialize. Ensure ServerBattlEye=True and the server has the latest BattlEye files (they are included in the server download). Restart the server after changing the setting.

Forgot admin password. Stop the server, edit ServerSettings.ini to set a new AdminPassword, and start the server again. The change takes effect on restart.

Server appears offline in the list. The Steam query port (27015) must be reachable via UDP. If you changed it, update the router and firewall.

High ping or packet loss. Check your network bandwidth and ensure no other devices are saturating the connection. Also verify the server machine’s network adapter is not overheating.

Frequently Asked Questions

Do I need to open both UDP 7777 and 7778?

Yes, the game uses both for different types of network traffic. Opening only one can cause connection issues or instability.

Can I change the game port from 7777?

Yes, you can change ServerPort in ServerSettings.ini. If you do, you must update the firewall and router forwarding accordingly, and players must specify the new port when connecting.

Is BattlEye mandatory for a private server?

No, it is optional. However, it is strongly recommended to prevent cheating. If you disable it, set ServerBattlEye=False and inform players they must disable BattlEye in their launcher.

What is the difference between server password and admin password?

The server password restricts who can join the game. The admin password grants in-game administrative commands (like spawning items or banning players). They should be different.

How often should I update the server?

Update as soon as a new patch is released. Conan Exiles receives frequent updates that fix bugs and security issues. Weekly checks are a good habit.

Can I run the server on a home PC and still be secure?

Yes, but you must be diligent with firewall rules and port forwarding. Also, ensure your PC’s OS is updated and use a strong password for your Windows account.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →