Skip to content

wireguard hub-and-spoke vs mesh: my 20-node headache

VPS Hosting by ronwit 24 replies 2.4K views
#11

Headscale control plane is not in the data path. That distinction matters. My mesh nodes in Taipei talk direct to nodes in Tokyo and Singapore, no hairpin through Amsterdam. Latency drops 40ms.

#12

techmei said:
No hairpin through Amsterdam
This is the thing. My hub is in Frankfurt, my two nodes in Lisbon talk to each other THROUGH FRANKFURT. I know this. I have traceroute. It makes me tired.

#13

I am in Lima, my hub is in Miami, my other node is in Santiago. 180ms to talk to my neighbor because everything goes to Florida first. I did not know Headscale exist until this thread. Thank you ronwit, you save me maybe.

#14

Ya see told you mesh is the way dont overthink it just do it

3 #15

I break things professionally so let me tell you: Headscale ACLs break things professionally. The default is allow-all, you think "I will lock this down later", later never comes, then you have 20 nodes with full mesh to your production database. Ask me how I know.

#16

rudi3 said:
Later never comes
Retired 2019. "Later" is all I have. Still haven't done my ACLs.

#17

If it fits in a rack I've racked it, and if it has a control plane I've lost sleep over it. Headscale is fine. Tailscale SaaS is fine. Your own hub-and-spoke with keepalived on two cheap VPS is also fine. The 190 connections thing is a red herring, WireGuard is stateless, the kernel doesn't care.

visit twice: install and decom
#18

In Bangalore I pay for bandwidth twice, once to ISP and once because cloud egress is not free. Mesh direct means my Pi in Chennai talks direct to my Pi in Hyderabad, not both via some VPS in Mumbai. This matters for my wallet.

#19

maxbobby said:
My other node is in Santiago
¡Hermano! Same problem, Miami is the gravity well for all South America. But I am cheap, I spend weekend on Headscale, my time is "free" because I am stubborn. Tailscale free tier is 20 user, ronwit, really you should check this: https://tailscale.com

#20

pablowild said:
Tailscale free tier is 20 user
I check this. 20 user but 1 user can have many device, and I am 1 user with 20 device. Is this work? I am confused. Also my wife say "why you need 20 device" and I say "shut up, this is my art".

instant noodles, instant deploys

Post a reply

You need an account to reply. Log in or register to join the conversation.

Post reply Preview Save draft