OPNsense Forum

English Forums => Virtual private networks => Topic started by: cduckett on May 25, 2021, 10:23:29 PM

Title: Unable to connect to my domain when connected via Wireguard
Post by: cduckett on May 25, 2021, 10:23:29 PM
So I have my Unraid server running with NGINX and I have all the correct port forwarding done where I can access my Organizr docker through my domain (https://mydomain.net).  Whenever I connect to Opnsense through Wireguard, I am no longer able to access the Organizr page, but I am able to still access any subdomains that I have setup (plex.mydomain.net, sonarr.mydomain.net, etc.) just not the default domain.  I can also access the Organizr page through it's local IP (192.168.1.2:8282).

I'm assuming I need to setup some rules within the firewall to route to the correct docker, I just don't know where to start.

Any help is appreciated!
Title: Re: Unable to connect to my domain when connected via Wireguard
Post by: picch on June 06, 2021, 08:03:39 AM
Have you confirmed mydomain.net is resolving to the proper IP or at all? If you're able to directly browse to the service via its IP:port (I assume port 8282 is the actual container not your reverse proxy), have you confirmed you're tcp/443 is being allowed to your docker server on your wireguard interface? First thing I would try is connecting to wireguard and doing an nslookup for mydomain.net and confirming the correct IP resolves. Then check that tcp/443 to the container is being allowed through on your wireguard interface.