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?

@Durotar@lemmy.ml
link
fedilink
English
81Y

It’s extremely easy to do if both the server and client are using wireguard. Just add FwMark = 42 to both interfaces (the exact numeric value doesn’t matter). This way, internet requests will go through the paid VPN provider and local requests will be working too.

If not, good luck with iptables.

@Blizzard@lemmy.zip
link
fedilink
English
11Y

deleted by creator

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 215 users / day
  • 438 users / week
  • 1.15K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.71K Posts
  • 74.7K Comments
  • Modlog