Startup Issue with Seven Days To Die - I'm unable to connect to the 7D2D

System Information

Field Value
Operating System Linux - Debian GNU/Linux 13 on x86_64
Product AMP ‘Phobos’ v2.6.4.0 (Mainline)
Virtualization Docker
Application Seven Days To Die
Module GenericModule
Running in Container Yes
Current State Stopped

Problem Description

Issue

I’m unable to connect to the 7D2D when launched through AMP. I can run it on baremetal on the server.

Reproduction Steps

  • Install server
  • Start server
  • Attempt to conect but unable to connect - server is still initializing (never finishes)

Questions:
Do you have a firewall on the machine AMP is installed on? (if so you can use this command to forward all the ports)
sudo ufw allow 2227/tcp && sudo ufw allow 26900/tcp && sudo ufw allow 26900/udp && sudo ufw allow 26901/udp && sudo ufw allow 26902/udp && sudo ufw allow 26903/udp && sudo ufw allow 26904/tcp && sudo ufw allow 26905/tcp && sudo ufw allow 26906/tcp && sudo ufw enable

Have you port forwarded all the following ports to the IPV4 that the instance is on:
SFTP Port: 2227 (TCP)
Server and Steam Port: 26900 (Both TCP & UDP)
Server Port +1: 26901 (UDP)
Server Port +2: 26902 (UDP)
Server Port +3: 26903 (UDP)
Control Panel Port: 26904 (TCP)
Telnet Port: 26905 (TCP)
Allocs Mod Port: **26906 (TCP)
**
If you have all those port forwarded and can be reached outside the network (https://portchecker.co/) then make sure you’re not behind a proxy or VPN on the client side connecting. I run a 7d2d server and this has never been more involved than portforwarding and configuration.

What have you changed from the default configuration if anything?

It’s bad advice to tell someone to forward SFTP and Telnet ports when they very likely don’t need to access those externally

Forwarding the control panel port is irrelevant if they haven’t enabled the control panel, and again are unlikely to need to access that externally anyway

Alloc’s Mod port is only relevant if they are using Alloc’s mod, which again is unlikely

Port checkers generally don’t help with UDP ports

The main ports to forward with 7DTD are the Server and Steam Port, and Server Ports +1, +2, +3

(Also, you assume that the OP’s ports are the same as yours - they may not be)

AMP will also handle the firewall

Greenlan is correct. I was attempting to cover all the bases but if you’re connecting to those locally you don’t need to forward them.

I did not know AMP handled the firewall! That’s useful info. Thank you!

Hey.

Thanks for the advice so far.
I am able to run the server on baremetal outside of the AMP startup process.
The ports needed 26900 etc are open and is currently playable.

It’s simply the AMP process on startup seems to not finalize and ready.

EDIT:

For anyone coming across this.
It was Apparmor

Found this burried in the logs.
kernel: audit: type=1400 audit(1765211577.530:7171): apparmor="DENIED" operation="create" class="net" info="failed protocol match" error=-13 profile="docker-default" pid=1802227 comm=xxxxxxx family="unix" sock_type="dgram" protocol=0 requested="create" denied="create" addr=none

I’ll mark this as solved.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.