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?

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    19 hours ago

    Maybe give Zerotier a shot. Similar premise as Tailscale, but a simplified NAT and routing implementation.

    My overall question though is…why??? If you have access to a VPN, why would you connect to another location to use it when you can just use it from anywhere?

    • HiTekRedNek@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      25 minutes ago

      TS works better for me than ZT. I started with ZT first, and had random access issues between my android phone, my VPS, and all my local devices.

      The local devices could all ping each other’s Zerotier IP addresses, but the vps and phone had issues pinging them, but not each other.

      Meanwhile, tailscale is working fine, and I’ve even set up subnet routing so I only need it on my phone, my VPS, and my OpnSense system.

      With Zerotier, I couldn’t get routing to work at all.

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 minutes ago

        Yeah, one or the other works well depending on how your network is deployed. Example: Tailscale gets whacky when dNAT issues are present, but ZT blasts through.

        Sounds like OP is having the opposite issue as you.

    • MasterBlaster@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      I had success using openVPN. I set it up, generated certificates, installed it on my phones, tablets, and laptops.

      It won’t work when using an external vpn like Express or Mulvad, but while using it, you have secure connection to home. Once done with the home network, turn off the vpn, turn on your commercial vpn.

    • Railcar8095@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      18 hours ago

      Two cases.

      One to have my server connect to the internet without exposing my traffic.

      The second is to not have to chose between be connected to my server or be connected behind a VPN.

      Honestly, if if wasn’t because tailscale is performing badly for the last few months, I wouldn’t have problems using and even paying for it.

        • Railcar8095@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          19 minutes ago

          Yes, but it’s working awful for me. Even without exit point lose connection for a long time, and there’s a error on the app. I need to restart the connection for it to work again.

          Even when it works it’s much slower to connect to my server than VPN.