I recently set up a server from an old computer case. I use docker to install and use different services on different ports and I would like to access some services from outside of my house.
I have a domain from namecheap and I set up dynamic dns which successfully sends my public IP to my domain periodically. Here’s the docker.
To reach different services on different ports with subdomains, I set up an nginx reverse proxy server with the help of a docker container. I only forwarded port 80 and port 443 from my router.
Now my setup works like a charm. Let’s say I want to reach
service1 which is on port 2525, I go to
service1.mydomain.com and my nginx server redirects me to
Here is where my concerns started; I shut down the server at nights. Even though it is shut down, when I ping
service1.mydomain.com, it shows my home’s IP address. It doesn’t lead to anywhere on the browser, however, it can still be pinged.
- What problems can occur with this setup?
- Or does any problem occur at all?
- Can someone reach into my home network?
[Note that I use a standard router with low-level firewall. And although my IP is not static (I didn’t buy), it hasn’t changed in months as I observed.]