Routed Masquerading (NAT), issues accessing service form "inside"

Hyldig

New Member
Feb 19, 2019
2
0
1
38
Hi

Dedicated server with only one public ip and NIC, so have set up vmbr network with Masquerading (NAT).
On node Port 80/443 is forwarded (with iptables) to LXC container running NGINX, that functions as a reverse proxy to some other LXC containers on same node and vmbr.
All is working fine, when i access the domains setup in NGINX from the outside world.

On same Node and vmbr, have set up Windows VM. Internet access is working fine.
But when trying to access the domains setup in the NGINX LXC container, i get ERR_CONNECTION_REFUSED. Can't find any trace in NGINX logs.

Firewall is disabled, and no restrictions are setup in NGINX. All containers and VM's on same vmbr and it's network 192.168.0.0/24
 
Last edited:
Hello there,
there are three types of hosting shared,reseller and dedicated the best one is dedicated hosting because it is fast and robust.
 
To consider this issue it is necessary to see IP's configuration data (/etc/network/interface and iptables-save from host as well as routing tables, also from windows as well as from inside the container).