Comment on How do I point a reverse proxy to a VPN client on my VPS?
jws_shadotak@sh.itjust.works 1 week agoThe goal is to route the services through the VPN and point Nginx to them… but it doesn’t work.
Comment on How do I point a reverse proxy to a VPN client on my VPS?
jws_shadotak@sh.itjust.works 1 week agoThe goal is to route the services through the VPN and point Nginx to them… but it doesn’t work.
catloaf@lemm.ee 1 week ago
Right. How are you routing traffic from nginx?
jws_shadotak@sh.itjust.works 1 week 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 week 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.