Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Selfhosted
  3. Access homeserver through VPN + route traffic with mullvad?

Access homeserver through VPN + route traffic with mullvad?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
17 Posts 8 Posters 12 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J [email protected]

    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?

    R This user is from outside of this forum
    R This user is from outside of this forum
    [email protected]
    wrote last edited by
    #5

    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.

    H 1 Reply Last reply
    6
    • J [email protected]

      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?

      M This user is from outside of this forum
      M This user is from outside of this forum
      [email protected]
      wrote last edited by
      #6

      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.

      1 Reply Last reply
      0
      • R [email protected]

        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.mlN This user is from outside of this forum
        nfreak@lemmy.mlN This user is from outside of this forum
        [email protected]
        wrote last edited by [email protected]
        #7

        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

        R 1 Reply Last reply
        3
        • nfreak@lemmy.mlN [email protected]

          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

          R This user is from outside of this forum
          R This user is from outside of this forum
          [email protected]
          wrote last edited by
          #8

          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.mlN 1 Reply Last reply
          1
          • R [email protected]

            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.mlN This user is from outside of this forum
            nfreak@lemmy.mlN This user is from outside of this forum
            [email protected]
            wrote last edited by
            #9

            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.

            1 Reply Last reply
            1
            • J [email protected]

              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?

              H This user is from outside of this forum
              H This user is from outside of this forum
              [email protected]
              wrote last edited by
              #10

              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.

              J 1 Reply Last reply
              1
              • R [email protected]

                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.

                H This user is from outside of this forum
                H This user is from outside of this forum
                [email protected]
                wrote last edited by
                #11

                Tailscale can actually use a Mullvad exit point. I don't know if you knew that ..

                R 1 Reply Last reply
                1
                • H [email protected]

                  Tailscale can actually use a Mullvad exit point. I don't know if you knew that ..

                  R This user is from outside of this forum
                  R This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #12

                  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.

                  ladfrombrad@lemdro.idL 1 Reply Last reply
                  1
                  • R [email protected]

                    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?

                    H This user is from outside of this forum
                    H This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #13

                    Another option is virtualization.

                    Separate your sharing server from your remote access server, then have them each connect to a different VPN

                    This is how I do it.

                    I have several containers and a couple of VMs running on my one server. My router is also currently virtualized (OpnSense running in a Proxmox VM, works great) and it connects to tailscale and uses subnet routing to allow my LAN devices to be accessed from outside my home without putting them directly on the Internet.

                    Meanwhile, I have two more VPNs set up for two different sharing servers. All on one physical machine.

                    1 Reply Last reply
                    1
                    • H [email protected]

                      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.

                      J This user is from outside of this forum
                      J This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #14

                      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.

                      1 Reply Last reply
                      1
                      • R [email protected]

                        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.

                        ladfrombrad@lemdro.idL This user is from outside of this forum
                        ladfrombrad@lemdro.idL This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #15

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

                        I wonder why.

                        Wireguard / TS runs faster than VPN's, and even my family member has had a couple of devices on my Tailnet down at their place for a couple of years now, and they haven't a clue how it works and fully believe I'm a magician.

                        Any background on your connection/location/devices etc?

                        R 1 Reply Last reply
                        0
                        • ladfrombrad@lemdro.idL [email protected]

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

                          I wonder why.

                          Wireguard / TS runs faster than VPN's, and even my family member has had a couple of devices on my Tailnet down at their place for a couple of years now, and they haven't a clue how it works and fully believe I'm a magician.

                          Any background on your connection/location/devices etc?

                          R This user is from outside of this forum
                          R This user is from outside of this forum
                          [email protected]
                          wrote last edited by
                          #16

                          Location is Europe, when I lose connection it mentions the TS server and it's in my country.

                          Devices mainly my server (mini PC at home, public IP, no NAT) and phone.

                          When trying to use subsonic of jellyfin from outside the network there's a noticeable delay between opening the apps and actually connecting. When using WG directly it's like being at home on the same LAN.

                          Main issue is that every now and then phone losses all internet connectivity, and TS shows an error connecting to it's server.

                          ladfrombrad@lemdro.idL 1 Reply Last reply
                          1
                          • R [email protected]

                            Location is Europe, when I lose connection it mentions the TS server and it's in my country.

                            Devices mainly my server (mini PC at home, public IP, no NAT) and phone.

                            When trying to use subsonic of jellyfin from outside the network there's a noticeable delay between opening the apps and actually connecting. When using WG directly it's like being at home on the same LAN.

                            Main issue is that every now and then phone losses all internet connectivity, and TS shows an error connecting to it's server.

                            ladfrombrad@lemdro.idL This user is from outside of this forum
                            ladfrombrad@lemdro.idL This user is from outside of this forum
                            [email protected]
                            wrote last edited by [email protected]
                            #17

                            Yeah, UK here and a couple of times I get errors about not being able to connect to the relay server in London + Amsterdam also with a public IP address from my ISP, but seem to have no issues even when it shows them unable to connect to the relay servers. The external Tailnet down at fam members house is FTTP but CG-NAT'ed, and why I love how TS works around it. Somehow.

                            But I have to ask. Have you setup the Tailnet with this fix for IP Forwarding on a subnet router (this helps me so much for tech support on said Tailnet...) and also UDP

                            https://tailscale.com/blog/quic-udp-throughput

                            I'm currently on my phone but I recall having to ensure the Mini PC w/Ubuntu / Pi4 with Raspbian down at their house had both the above when bringing Tailscale, up.

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups