My question is fairly straightforward: I’ve got wireguard set up on my home network, and I’m really happy with it, but I also got a paid VPN service as well for privacy reasons.

The paid VPN i got is Mozilla VPN (which in theory uses wireguard as well).

My goal would be that I have my own VPN through which I can access my home network, and the paid VPN on top of it, which “forwards” the outbound traffic.

Is there a way to do this? Anyone has any experience with this?

  • mister_monster
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Not too hard to do with wireguard. You have to split traffic, because if you tunnel all traffic to the paid VPN, you can only access it by pointing at the IP address of that paid VPN so it doesn’t really help. If youre using firefox VPN, it’s just a private labelled Mullvad VPN, so no port forwarding so this wouldn’t work at all.

    So what you have to do is allow your home machine running the wireguard server you use to connect to your home network accept direct connections from your devices. Then all outbound connections tunnel to your paid VPN. It’s a bit convoluted but there are plenty of walkthroughs online as to how to set up your firewall and network rules and wireguard configs to do it. You’ll be working with iptables and then traffic splitting with wireguard.