U
/u/Wobblyhooks15
Guest
I know the title may be vague so I'm sorry about that. I'm new to this, I have been hosting three servers with the itzg image for about a year. One server heavily modded (25565:26656), another was vanilla (25568:25565)and the third was a testing server (25569:25565).
All three were working fine and had their own respective domain names and DNS configs/service records done via Cloudflare. A couple examples could be, "mods.server.xyz", "vanilla.server.xyz" and "test.server.xyz" Also my router is configured to forward all of these ports.
My problem starts with me discovering that Dockers "restart unless stopped" policy isn't working. With a ton of ignorant confidence I decided that I needed to reinstall the docker engine in order to fix it (because every other option such as using systemctl to restart/enable the docker service resulted in me somehow not having that service available.) I followed dockers official documentation and uninstalled my current version and then continued with their recommended installation. Once installed I was able to verify that the docker service was available so I thought I did it. I thought I would now be able to benefit from the restart unless stopped policy, but now I cant access my server remotely with my preconfigured domain name. Only locally.
One thing to note would be that before I uninstalled the working version of docker, I had configured my docker containers local host to use UFW firewall to allow inbound and outbound traffic on those ports(25565, 25568 and 25569). During my reading of the docker documentation I see that it is unsecure and docker now uses iptables with the docker-user chain which i would have never touched. Is this the reason I can join the server locally but my domain wont work? Nothing else changed. I'm at a loss so any help would be appreciated.
submitted by /u/Wobblyhooks15
[link] [comments]
Continue reading...
All three were working fine and had their own respective domain names and DNS configs/service records done via Cloudflare. A couple examples could be, "mods.server.xyz", "vanilla.server.xyz" and "test.server.xyz" Also my router is configured to forward all of these ports.
My problem starts with me discovering that Dockers "restart unless stopped" policy isn't working. With a ton of ignorant confidence I decided that I needed to reinstall the docker engine in order to fix it (because every other option such as using systemctl to restart/enable the docker service resulted in me somehow not having that service available.) I followed dockers official documentation and uninstalled my current version and then continued with their recommended installation. Once installed I was able to verify that the docker service was available so I thought I did it. I thought I would now be able to benefit from the restart unless stopped policy, but now I cant access my server remotely with my preconfigured domain name. Only locally.
One thing to note would be that before I uninstalled the working version of docker, I had configured my docker containers local host to use UFW firewall to allow inbound and outbound traffic on those ports(25565, 25568 and 25569). During my reading of the docker documentation I see that it is unsecure and docker now uses iptables with the docker-user chain which i would have never touched. Is this the reason I can join the server locally but my domain wont work? Nothing else changed. I'm at a loss so any help would be appreciated.
submitted by /u/Wobblyhooks15
[link] [comments]
Continue reading...