Make containers Ip-s public through home router ip

Radomir

New Member
Jul 2, 2023
2
0
1
Hi, I've just intalled proxmox and start to building containers and inside to run a docker applications. I've searched forum but can't find the answer to my issue. This is my issue. My home router public ip is 95......33, my proxmox ip is 192.168.10.50, and then each container is getting his own ip 192.168.10.40 or 192.168.10.60. Now when i go to my router (Huawei) and do the port mapping to my container ip i can access it from outside and the app is working great. My question is: is it possible to make all containers Ip-s publicly accessible through home router ip? Thanks
 
The problem you are facing is that you only have 1 address given for the internet (WAN) by your ISP. The Ip adresses 192.168.x.x are only valid in your local network (other people will reach there local network when using them).

Usually you can configure something called DMZ on your router. That means when other people call 95......33 they will reach a specified local ip (192.168.X.X).

If you want to expose multiple local Ip adresses, you will eighter have to port forwarding or configure a 2nd level DNS server
 
  • Like
Reactions: Radomir