I wanted to set up a dedicated openttd server, and since I already have a debian webserver with space I thought I'd just use it. I had no problems installing openttd, but having opened ports 3979 and 3978 to tcp+udp traffic using ufw, I'm still getting errors from the dedicated server saying that it can't deliver to or from those ports for server advertisement. I've been trying different things in the game config file to see if it's connecting to the wrong ip or something (still fails when I specify the external ip for the server that I know my domain uses successfully), and I'm pretty much at my wits end.
The full readout when I query ufw is as follows:
Code: Select all
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
22/tcp ALLOW IN Anywhere
20:21/tcp ALLOW IN Anywhere
22/tcp (OpenSSH) ALLOW IN Anywhere
80/tcp ALLOW IN Anywhere
443/tcp ALLOW IN Anywhere
3979/tcp ALLOW IN Anywhere
3979/udp ALLOW IN Anywhere
3978/udp ALLOW IN Anywhere
22/tcp (v6) ALLOW IN Anywhere (v6)
20:21/tcp (v6) ALLOW IN Anywhere (v6)
22/tcp (OpenSSH (v6)) ALLOW IN Anywhere (v6)
80/tcp (v6) ALLOW IN Anywhere (v6)
443/tcp (v6) ALLOW IN Anywhere (v6)
3979/tcp (v6) ALLOW IN Anywhere (v6)
3979/udp (v6) ALLOW IN Anywhere (v6)
3978/udp (v6) ALLOW IN Anywhere (v6)
Code: Select all
[network]
server_port = 3979
server_advertise = true
server_password = <password I'm not sharing goes here>
server_name = <server name I'm not sharing goes here>
[server_bind_addresses]
<correct external ip address goes here> =