I don’t know how to word my search for better Google results, but my goal is to have a couple of devices access my network via WireGuard, but when those devices access the internet, it’s through a vpn. Right now, I have the devices routed through a vpn and able to access internal addresses. I also have an external vpn that some of my traffic currently routes out through. I just don’t know how to take the traffic coming in through one vpn and send it out another.

An example goal: Have a phone that, when on wifi, goes out through commercial vpn. If wifi is disconnected, that device will switch over to the WireGuard connection and go out through the same commercial vpn.

  • Kay Ohtie@pawb.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    15 days ago

    Probably rewrite gateway rules. I believe that’s the rule I use for forwarding out over Cloudflare WARP when my ISP is shitting a brick. All I have to do is toggle like one thing now to make it work instantly for all local traffic. Probably just need the same rule applying on the inbound VPN side.