Connect to Nginx from a VPN Wan?

Started by stryk3rr3al, January 09, 2024, 02:25:04 AM

Previous topic - Next topic
Hello all I have setup a DNS record that points to my VPN providers public IP address. I've port forwarded on my VPN provider to allow traffic to reach me. In my firewall logs I can see that the traffic is reaching Opnsense.

However it seems Nginx doesn't connect to the clients reaching out via the VPN tunnel. Is there a way to use a different interface with Nginx so it would communicate within my VPN Wan instead of the default WAN on my system?

The VPN is setup as a site to site between my location and a VPN provider using a Wireguard tunnel.