26
How do you use VPN? (lemmy.curiana.net)

I'm trying to setup my VPN and I'm a bit confused here.

I have a commercial VPN subscription that I'm using on my phone and laptop. Now I've set up WireGuard on my OpenWRT router to access my home network remotely. I can connect to it from my phone but from what I see there's no way to have both commercial VPN and my local network WG active at the same time (both are using WG so I'm trying to create WG config with two peers but I don't think it's possible).

So what do people actually do? From what I see I have 3 options:

  1. Don't use commercial VPN on my phone, only use WG to access my network
  2. Switch between VPNs manually whenever I want to access my network
  3. Setup commercial VPN on my router, move all my networks traffic through this VPN and move all traffic from my phone through my home network.

Am I missing something? What's the typical approach here? I thought that what I'm trying to do is basic scenario but it looks like it's not that simple if at all possible.

you are viewing a single comment's thread
view the rest of the comments
[-] SpacePirate@feddit.nu 3 points 4 months ago

I have done what you are looking for on OPNsense. And I'm pretty sure it can also be done with OpenWRT.

You will need to setup multi WAN and setup some static routes and use your RoadWarrior setup.

Aka you want this:

Phone › Via Wireguard › OpenWRT › Via Wireguard › VPN provider

I don't have a guide on how to do it but I will try to find one and update this comment if I do. But here are some Guides that might help you in creating it!

Multi WAN Guide

MullvadVPNs OpenWRT Guide for Wireguard (Should work with other providers)

OpenWRT Wireguard Guides

I'm also including the guide to setup Roadwarrior & External VPN provider for OPNsense so you can get a idea of how it should be done and work

OPNsense guide I used to create my Wireguard WAN

OPNsense guide I also used for Wireguard WAN

OPNsense Guide I used for my Roadwarior Setup

[-] ExLisper@lemmy.curiana.net 1 points 4 months ago

Thanks, for now that what I will try to do but using Netmaker. I think it's an overkill for what I need but it will be good practice.

this post was submitted on 09 Apr 2026
26 points (86.1% liked)

Selfhosted

61708 readers
856 users here now

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS