Feature Request: Support Tailscale

Hi Guys,

Would really appreciate support for Tailscale, even just from the command line initially. I use Tailscale a lot to access my servers away from home. I think FreeBSD has it from memory.

Many Thanks, Bernard

2 Likes

What is it/what does it do? Looking at the tailscale site I only see buzzwords :confused:

Looking at the wikipedia page, it appears to be some sort of VPN-like service, I think?

Yes, it’s a VPN that can be used to put all of your devices onto one virtual network. So if you have a computer at home and you are away from home, you can still access your computer because you are still in the same virtual network. You don’t have to set up port forwarding. Also, the free tier is generous enough that it is unlikely that an individual using it will have to pay anything.

Well, sources are available, someone should try to build it.Apparently, they always require last golang version.

Huh? I just add a wireguard vpn in my router for that. why would I need a free tier for some service?

1 Like

I just set up my first Wireguard install on a VPS. $10NZ a month, and not only can I connect devices directly to it, but my router can also use it as an uplink.

Tailscale is spectacular. At it’s core, it does use Wireguard for the VPN part, but with an autodiscovery mesh system that makes setting it all up and adding new devices super easy. It takes Wireguard from being a system that you have to spend hours setting up, do some maintenance on regularly, and will never pass the spousal acceptance factor, to a 10 minute job you do once and spend 30 seconds to set up on a new device. And if you want to fully self host everything you can.

It’s on my list of things to get working to be able to really daily drive haiku.

1 Like

Yep, I use Tailscale all the time, just install the app, log into the network and go. I have a client on my android phone so I can stream music/video from my servers while I am out and about, no setup no fuss. No fiddling with ports on the router. It’s a must have utility in my opinion.

Also, I do a lot of work from home and want to have an encrypted connection to my home servers.

It’s a mesh like structure, so any machine can connect to any other.

1 Like

Interesting. Though wireguard with the router is clicking through a dialog and adding a vpn in the end device, it’s not that difficult :slight_smile:

Is there anything required from the OS apart from, well… supporting wireguard?

I don’t think clients require anything other than a recent Go compiler. The one for Haiku is a bit out of date, but I’m going to try it anyway. It also looks like they are working on a rust based one as well but it’s still experimental.

I managed to install Tailscale on a Haiku i386 machine with the help of Claude. Since Go isn’t supported on Haiku i386, I had to compile it on an external machine and inject the binary into Haiku.

You can find the patch script in this repository: https://github.com/rainygirl/haiku-i386-tailscale-patch

While this workaround works for now, I really hope to see official Tailscale support for Haiku someday.

3 Likes

Great to hear. Will this work for 64bit?

I am working on this as we speak, but will not release anything before I have tested it across several physical devices.

Wow, great to hear. If you need another tester, happy to test on my Thinkpad x1 carbon Gen6

A post was split to a new topic: Sotoportego

Unfortunately Sotoportego Tailscale branch does not work well for me.

I can connect to my network fine and see all my machines, but to connect to one of my servers, I must reboot by laptop, then I can connect.

However the connection only lasts 5 minutes at most. The only way to get it back is to reboot and start again. Just not usable. The normal VNC part of Sotoportego works fine.

How stable is TUN/TAP in Haiku?

I currently have a C++ port of Tailscale for Linux that is quite usable (been running a funnel on it continuously for more than a week now), all you need to port that is figuring out how to use TUN/TAP and how to deal with epoll and exotic FDs (e.g. timerfd).

1 Like

Normal VNC works fine through TUN, it’s just Tailscale port to Sotoportego that was unstable.

Can you share your Tailscale bin?

1 Like

It’s not a port or a build, it’s an entire re-implementation in C++:

By using C++ ports would not have to deal with the Golang shenanigans.

3 Likes