First: I’ve tried Tailscale, for some reason it works awful for me so I’m avoiding that option if possible.

I am trying to have a single server that has a VPN port exposed to connect to it, but routes traffic through a comercial VPN (mullvad ideally) to privately share my linux ISOs. So far I haven’t been able to achieve this, it sees I can’t use the VPN server (wg-easy) + VPN (mullvad gui), only the one that start first work.

Has anybody achieve something like this?

  • nfreak@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 hours ago

    I’ve done exactly this with wg-easy so I can use my external VPN on my phone while still connecting to my home network without toggling VPNs.

    My config here is for v14, you’ll want to pin the image version: https://github.com/qdm12/gluetun/discussions/1192#discussioncomment-12973135 Note there’s a small typo in the local network Down rule I added, I’m on mobile right now else I’d copy my current config instead that cleans it up a bit since this post.

    In the same thread, someone posted a fantastic guide to get it working with v15. You’ll need to add an iptables rule for full LAN access if you want to enable that: https://blog.bktus.com/en/archives/2918/

    V15 was giving me issues because it didn’t allow you to disable ipv6, but apparently the latest edge builds do. I haven’t tried that yet

    • Railcar8095@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 hours ago

      I’ll try it as soon as I have time!

      V15 didn’t work for me, might be the issue you mention, so I’ll stick with 14 for the time being.

      • nfreak@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

        Yeah I feel like v15 released a bit too early outside of preview builds. It’s a substantial improvement but doesn’t feel quite ready.