Live data from Hacker News

Windows Kills SMB Speeds When Using Tailscale

danthesalmon.com

21–30 of 43 posts

Re: Windows Kills SMB Speeds When Using Tailscale

#22
I feel like this whole thing buries the lede a bit.

Yes, turns out running overlay/VPN type things disrupts traffic patterns. This is a non-story.

But we're talking about using wireguard on a local network, so the actual interesting question is: why does it cause the performance to plummet? Is it an implementation issue or something more fundamental?

I expect some performance impact. I don't expect a three orders of magnitude impact (which is what 355 KB/s imputes).

Re: Windows Kills SMB Speeds When Using Tailscale

#23
post #4

I don’t think this is exclusive to Windows. SMB is a crappy service for anything outside local LAN. I am not too familiar with Tailscale but from what I understand, it’s basically akin to a VPN.

Article spoiler: the issue is Tailscale. SMB and Windows are red herrings.

Re: Windows Kills SMB Speeds When Using Tailscale

#24
post #19

Earlier quoted context omitted.

> Because, for whatever reason I’ve yet to grasp, homelab folks like to implement Tailscale as some sort of “secure virtual network” abstraction layer - think something similar to zScaler ZPA - on top of their local LAN. This is Tailscale's intended behavior, not a matter of how homelab folks like to implement it: https://github.com/tailscale/tailscale/issues/659#issuecomme...

Maybe I'm not understanding properly, but why can't my device ARP ping and handshake with the subnet router to determine that I'm on the local subnet and to stop routing it through Tailscale?

It could, but the Tailscale devs don't consider "silently start leaking traffic to anyone on the local subnet" to be a desirable feature.

Re: Windows Kills SMB Speeds When Using Tailscale

#25
post #19

Earlier quoted context omitted.

> Because, for whatever reason I’ve yet to grasp, homelab folks like to implement Tailscale as some sort of “secure virtual network” abstraction layer - think something similar to zScaler ZPA - on top of their local LAN. This is Tailscale's intended behavior, not a matter of how homelab folks like to implement it: https://github.com/tailscale/tailscale/issues/659#issuecomme...

Maybe I'm not understanding properly, but why can't my device ARP ping and handshake with the subnet router to determine that I'm on the local subnet and to stop routing it through Tailscale?

Tailscale intentionally overrides your device's routing table to force traffic between hosts in the same subnet to go over a Wireguard tunnel instead of bypassing it. They do this because they believe that the presumption that a local subnet is trustworthy is false.

Re: Windows Kills SMB Speeds When Using Tailscale

#26
post #4

I don’t think this is exclusive to Windows. SMB is a crappy service for anything outside local LAN. I am not too familiar with Tailscale but from what I understand, it’s basically akin to a VPN.

Sounds like ya it’s a different issue here but I can confirm using WireGuard absolutely destroys smb performance. It’s not as bad on windows but on Mac it’s basically unusable.

Re: Windows Kills SMB Speeds When Using Tailscale

#27
post #4

I don’t think this is exclusive to Windows. SMB is a crappy service for anything outside local LAN. I am not too familiar with Tailscale but from what I understand, it’s basically akin to a VPN.

“I don’t know what I’m talking about but here’s my opinion.”

Thanks for your contribution

Re: Windows Kills SMB Speeds When Using Tailscale

#28
post #9

If Tailscale is being used for remote access to the author's LAN, why is it running on a desktop that's always physically connected to the LAN? I have a similar setup for remote access but using Wireguard instead; my main router (pfSense VM running on Proxmox like the author's thing) handles the tunnels and routing for the remote subnet(s), and it all Just Works. Only the devices that actually get used remotely need…

> If Tailscale is being used for remote access to the author's LAN, why is it running on a desktop that's always physically connected to the LAN?

Tailscale has a few nice additional features as well, like automatic DNS assignment for hosts on the virtual network, generation of HTTPS certificates for those hosts, and, if you enable the right middleware in your locally run services, transparent authentication to web servers for computers on the network. If you're going all-in on Tailscale, you can use it to automate a lot of network management. That would require you to run Tailscale on all of your devices, though.

Re: Windows Kills SMB Speeds When Using Tailscale

#29
post #4

I don’t think this is exclusive to Windows. SMB is a crappy service for anything outside local LAN. I am not too familiar with Tailscale but from what I understand, it’s basically akin to a VPN.

Article spoiler: the issue is Tailscale. SMB and Windows are red herrings.

True. Have exactly same speed issues with SCP as with SMB. It also depends on exit node used - some exit nodes give 10MB/s speed, same give 1MB/s. Doesn't work without exit nodes at all - cross-border blocking issues.

Re: Windows Kills SMB Speeds When Using Tailscale

#30

I feel like this whole thing buries the lede a bit. Yes, turns out running overlay/VPN type things disrupts traffic patterns. This is a non-story. But we're talking about using wireguard on a local network, so the actual interesting question is: why does it cause the performance to plummet? Is it an implementation issue or something more fundamental? I expect some performance impact. I don't expect a three orders of…

I check the "Allow local network access" in Exit Nodes, then it transfers at max speed over local Ethernet.
Post reply on HN