Internet Speeds

I’m sure this is a post that has been made many times, but I’m run a personal homelab and am using Tailscale to connect me and a couple friends so they have access to the server as well.

I set up Tailscale on all our devices but my homelab (running on Linux and gets gateway connection via Ethernet) is getting 30mb/s. Unfortunately that just won’t be fast enough. Is there something I’m doing wrong to get these slow speeds?

On my phone and computer, I’m getting over a 100mb/s. Anyone went through anything similar? I’ve tried changing up my DNS to cloudfare, and a few other things.

These are the speeds without Tailscale.

These are the speeds with Tailscale.

Can you post a screenshot of a speed test from this linux box? (turn off tailscale and run your speedtest)

Im assuming you are talking about an exit node?

Are you clients direct or relay?

Latest client installed on all systems (1.60.1)?

Unfortunately that just won’t be fast enough.

Fast enough for what?

How are you testing your network speeds? What protocol are you using that you are seeing “is getting 30mb/s.”?

Most commonly, that’s a relayed connection, very reliable, but not as fast: Connection types · Tailscale Docs

If it’s a Samba/CIFS share, there’s some MTU tweaking you can do. Search for “slow cifs VPN” - it’s not Tailscale specific, you get poor performance from CIFS on most VPNs

Tailscale is a mesh overlay network and does not per default use a vpn connection as default gateway. So, except if you use your friend’s node as exit gateway (which you shouldn’t) you are probably only testing your own internet connection, without Tailscale in the mix. And that internet connection seems to be incredibly weak, probably due to the power lan, potentially because of the bandwidth of the internet access itself. So if you want to improve your situation over Tailscale, fix your internet connection situation first.

It seems I am using a relayed connection. It seems so far that everyone is relay. I am currently running Samba and Serviio, and am wanting to add a Minecraft Server to that list. The image attached is my speeds without Tailscale… which is curious because I am connected via Ethernet and power line adapters to my gateway.

I could not get the pictures to attach to this reply, so I attached them onto the post.

Samba is one of the things I do plan on using with Tailscale, and earlier I had an issue with a large file transfer. I am definitely open to alternatives.

I understand, thank you for the help! I search online but do you know of any good alternatives to the adapters?

which is curious because I am connected via Ethernet and power line adapters to my gateway.

Ewwww powerline gross. Get rid of that garbage off your network

I am currently running Samba

As /u/jws_ts mentioned Samba sucks over VPN

Next you need to open up the ports for best performance with tailscale

Pulling ethernet cables through the house. It definitely can be done and should be done before using Powerline or Mesh wifi devices which - together - are more expensive than paying a trade to pull the cables.

Unfortunately it was one of the few ways I was able to get connection to my Microserver Gen8, I am a college student who lives at their parents house so the rules are tight. I very much am open to suggestions and alternatives to those.

Also, if there are better alternatives to Samba too, I will try them, I am really wanting to make this work.

In the meantime, i am going to work on opening those ports in UFW.

I understand. Thank you!

I have a quick question actually, could a second router added to my network (just for my server) achieve a similar but still strong effect?

No. What should that improve. It still is either connected via powerline or WiFi. Both seems to be bad in this case.

You could however move the server to a location besides the home router where it could be wired to it. As it is a network device, it absolutely does not have to be in your room. That would at least improve the in house situation. We however still don’t know how good or bad the internet connection is. And if it is bad, probably not much can be done there.

Oh, apologies, I explained it wrong, I meant that in a way to remove the powerline adapters from the setup altogether. I meant a second router in my room, and then connect the two via LAN, reducing the need for powerline adapters. I apologize. :sweat_smile:

If you have wired LAN in your room, just use a cheap switch with it to be able to connect more than one device (e.g. your computer AND the server) to that one room connection.

A router does more than a switch (routing), a router behind a router would bring a lot of problems and is not the right approach here.

I understand. I still have quite a bit of concepts to learn. Thank you!