Comment on How do I point a reverse proxy to a VPN client on my VPS?
catloaf@lemm.ee 1 month agoRight. How are you routing traffic from nginx?
Comment on How do I point a reverse proxy to a VPN client on my VPS?
catloaf@lemm.ee 1 month agoRight. How are you routing traffic from nginx?
jws_shadotak@sh.itjust.works 1 month ago
For the services already hosted by the VPS, I just point service.web.site to the appropriate localhost:port.
My hiccup is that the VPN software (pivpn) gives me an internal IP for the clients but pointing Nginx to that IP doesn’t work.
catloaf@lemm.ee 1 month ago
The nginx host is the VPN client in this case, so it’d be connecting to itself. You need to point it to the host on the VPN server side network.