Forwarding traffic from one VPN to another

I have a homelab running Debian. I connect to it via Wireguard. I would like to forward non-local http traffic through to NordVPN from the server. This way I can use my home server vpn accessing local resources while also gaining the benefits of an external VPN service.

At first I thought a double VPN would be possible, where the server is connected to NordVPN itself. But since NordVPN does not offer port forwarding I would have no way of connecting to the server.

I am guessing the solution will require some IP table wizardry.

Answer

Attribution
Source : Link , Question Author : zalera , Answer Author : Community

Leave a Comment