Trying to find a way to connect to my home server as well as my VPN at the same time. Doesn’t seem like tailscale can. I’ve started looking at pangolin, has anyone had any luck with this issue?

Thank you

  • hexagonwin@lemmy.today
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 hours ago

    idk how it works on grapheneos. but on normal android i could use work profile for this. and singbox inside the work profile to open a local socks5 proxy, then connecting to it from outside the work profile.

  • PortNull@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    15 hours ago

    Yes. Run a tailscale exit node which connects to the internet via said VPN. Connect to tailscale on android and select the exit node

    Now you are routing android to tailscale and exiting via the vpn.

    Not sure about pangolin on this front

    • philanthropicoctopus@thelemmy.clubOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      This seems like the way forward for me.

      Just so I understand properly. I set up one of my home machines as an exit node and all my traffic from my android goes through that home machine?

      How do I connect my VPN to tailscale on the home machine? Its not mulvad unfortunately

    • Cousin Mose@lemmy.hogru.ch
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 hours ago

      I do this more or less, while the VPS itself doesn’t route over a VPN I have traffic forwarded between Tailscale and a commercial VPN.

      It’s actually much more complicated and involved then that involving four double hop VPN tunnels, two that stay 100% in my country then two that bounce around other countries routed over the first two. This way my traffic exits the country without it appearing that way.

  • dieTasse@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    14 hours ago

    You can use tailscale + gluetun docker containers to use your favorite commercial vpn as an exit node on the same machine. https://github.com/alexmaisa/tailscale-vpn-exitnode

    Or you need to update iptables of you don’t use docker and have e. g. wireguard out as an exit node. Or if you have vpn out on your router, and tailscale on the home network, you just use it as exit node.

      • DenimFootpath@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        18 hours ago

        It’s a shame you can’t force an exit node to be used by the whole tailnet

        Edit: Does hesdscale support exit nodes at all? You could for example run a VPN on a router and then use that device as an exit node. I suspect that would work if you can use normal exit nodes

        • i_am_not_a_robot@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          You can use exit nodes, but at least in my case that would be really stupid of me to do. If you have a router connected to a VPN and you use that router as an exit node, all of your traffic is going from your mobile device to the VPN server to your router back to the VPN server to the destination host and any return traffic takes the same route in reverse, adding additional latency and limiting your bandwidth to the minimum of any link in either direction along the entire chain. You can potentially exclude the mobile to router Tailscale traffic from the VPN tunnel to skip a little bit of latency, but it probably doesn’t help much unless your VPN server is in a third location that is not along the path between your current location and your router. My slow upload speed would become a slow download speed, and when I travel long distances my latency to services at my destination would become half a second.

          What I do is I have a travel router that I deploy where I’m staying, and that router has a site-to-site VPN with my home network. That way traffic doesn’t need to travel across continents to reach a server only 20ms away.

          I also have a set of services that are exposed directly to the internet and I can reach those servers without Tailscale. I can live with being connected to a different VPN and not having the Tailscale-only services.

          It may be possible to just use Wireguard. The main benefit of Tailscale instead of Wireguard is that two Tailscale nodes that are next to each other can connect directly without going through another server, and this is accomplished by continuously reconfiguring Wireguard. If you just want a private network VPN where you have a fixed route to your private network and a fixed route to a public internet VPN, you can do that without Tailscale. If you are traveling with a phone and a laptop, connections from the phone’s VPN IP to the laptop’s VPN IP will be slower as they route through your VPN server, but they will work.

        • DarkSirrush@piefed.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          17 hours ago

          Headscale does support exit nodes, I use it to get pihole filtering on my phone away from home.

  • Taasz/Woof@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    4
    ·
    21 hours ago

    Maybe run the public VPN at home with NAT enabled, and use it as the default gateway in the private VPN. Never done it but I think I’ve seen some guides on that concept.

  • ohshit604@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    16 hours ago

    Might sound like a dumb question, but have you opened the port on your router?

    My ASUS router handles my WireGuard setup, I can forward my home VPN server through one of Protons VPN servers essentially creating a multi-hop setup.

  • tiptoes@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    17 hours ago

    Depends on what threat you’re protecting against IMHO.

    If you’re trying to be anonymous, connecting to your home IP first is a dead giveaway to who you are. Both your home ISP and whichever ISP you’re connnected to will know.

    Only easy way to maintain some anonymity right now would be to use Tailscale’s Mullvad integration……Tailscale to connect your servers, Mullvad for anonymize/country changing.

    Other way might be to ONLY use Tailscale/Mullvad, and set up an alternative auth front door to your own network. Complicated and doesn’t work as nicely tho.