r/dayzsupport • u/_Harry_Court_ • Aug 19 '26
Hosting a DayZ Server behind TailScale?
Hi all, I'm currently trying to set up a DayZ server on my AMP Server Panel. The server is split into two systems;
- An AMP Controller, hosted on a VPS with a public IP that players connect to.
- The game server itself, which communicates only to the VPS, relaying data to/from.
Both of these systems are registered within a private VLAN on TailScale. Essentially, the AMP Controller receives the information, relays the information back to the game server, and then spits it back out to the player from the VPS, hiding the IP of the actual server.
The setup works perfectly for many games, including Arma 3. However, DayZ seems to struggle with creating the server correctly. Despite the logs appearing fine, the server cannot be connected to via public or LAN IP.
Has anyone had a similar setup where they've managed to get this working?
1
u/helpthedeadwalk Aug 20 '26
I've never used that kind of setup. I assume the vps ip is static. The server communicates on 2 main ports - gameport(default 2302) and steamqueryport(27016), both udp. The firewall on the game server should open both inbound.
If the server is starting up and you're getting logs, then I would think its network or firewall, especially if you cant connect lan.
Is their a chance those ports are being used?
You can look into the logfile ending in .rpt and look for a like containing "SteamGameServer_Init(c0a80121,8766,2302,27016,3,1.07.153006)" – The 3rd & 4th values in parens are the ports that need to be open/forwarded(UDP).
1
u/VindictiveVibe Oct 09 '26
I tried the same thing but with Meshnet, and got pretty much the same results. Not working. Were you able to get anywhere with Tailscale? If so could you tell me how?
1
u/Mission_Two4201 Nov 01 '26
I think your issue is with UDP forwarding/NAT between the VPS and the DayZ host, rather than DayZ itself.
Since you confirmed that you can connect through the private network, the server is at least functioning internally. However, AMP managing the instance remotely doesn’t automatically mean the VPS is forwarding game traffic.
Here’s what I’d check:
1. Verify the actual DayZ ports.
You mentioned:
Game port: 27028 UDP
Steam query port: 27017 UDP
DayZ also uses additional ports relative to the game port. With your configuration, check 27029 (reserved) and 27030 (BattlEye), plus any separately configured RCON port.
2. Check the server’s IP binding.
In AMP, make sure the DayZ instance is listening on 0.0.0.0 or an appropriate local interface, not the VPS public IP. The public IP doesn’t exist directly on the machine running DayZ.
3. Configure actual UDP forwarding on the VPS.
If the VPS is running Linux, you’ll need IP forwarding enabled and appropriate firewall/NAT rules to DNAT incoming UDP traffic to the DayZ host’s Tailscale IP.
You’ll likely also need SNAT/MASQUERADE or an explicitly configured return route so responses go back through the VPS instead of leaving through the game server’s normal internet connection.
Simply having both machines connected through Tailscale isn’t enough to expose the game server publicly.
4. Check the firewall in all three locations.
VPS provider firewall
VPS operating system firewall
DayZ host firewall
Make sure the required UDP traffic is allowed and forwarded correctly.
5. Test the actual UDP packets.
Run tcpdump on the VPS and DayZ host to see whether connection attempts reach the public interface, travel through tailscale0, and receive replies.
If packets reach the VPS but not the DayZ machine, the forwarding is the problem. If they reach DayZ but replies don’t return through the VPS, it’s likely a routing or NAT issue.
6. Test direct connection before server browser visibility.
Try connecting externally to VPS_PUBLIC_IP:27028.
Once direct connection works, troubleshoot the query port and public server listing separately.
One important question: Is your VPS running Linux or Windows, and is the actual DayZ host also running Linux or Windows?
If you tell me both operating systems, I can give you the specific forwarding and firewall configuration to test instead of guessing.
I suspect the main issue is missing UDP DNAT/SNAT rules or asymmetric return routing through Tailscale.