6
submitted 10 months ago by yarov3so@alien.top to c/main@selfhosted.forum

I can't praise Tailscale and its developers enough... I discovered this do-it-yourself VPN solution about half a year ago and boy has it improved my life... Here is what I managed to accomplish with it.

I am running Tailscale on my old macbook air, henceforth referred to as my "server", my two firesticks, and my phones.

*remotely=outside of LAN, so over internet*

-I can access my SMB shares remotely from my phones with OwlFiles and from my M1 Macbook air seamlessly through Finder. All I had to do was enter a simple command on my server in Terminal to add TCP/445 to "Services". Tailscale then forwards incoming TCP connections on port 445 from within my tailnet to port 445 on my mac’s server. The result is that I am able to mount my 2TB share from anywhere I have internet and manage my files as though I was on my home network. I also have access to my entire media library from VLC installed on all my devices (once again, through SMB). If only I could somehow add my remote SMB shares to Kodi... But Kodi doesn't seem to allow me to type in custom IP addresses when trying to add SMB shares. Let me know in the comments if you know how to add remote SMB shares to Kodi (the ones it does not detect automatically).

-Similarly, by adding a suitable HTTPS port to my server's Tailscale services, I am able to manage the Transmission torrent client installed on my server remotely through Transmission's web interface (while connected to Tailscale, of course).

-I can back up to Time Machine remotely and accessing my Time Machine backups remotely as well. There are a few caveats though. On my server, I had to add a shared folder (from Settings), allow access to it via SMB and mark it as a Time Machine backup destination. The process is pretty straightforward. The trick is to add it as a backup destination THROUGH TAILSCALE by typing in the Tailscale IP of your server or the Magic-DNS domain name. Also, you will not be able to access pre-existing time machine backups through Tailscale! Only the destinations that you initially add through Tailscale. This is why I have two backup destinations on my server - one that I back up to from my LAN and one that I use over Tailscale remotely. Works like a charm!!!

-I can control my server through VNC remotely and seamlessly as if I was connected to LAN. To do that, I had to add TCP/5900 to my server's Tailscale services (which is akin to opening up TCP port 5900 to incoming connections from within the tailnet). This is particularly useful when I don't have my M1 mac with me, but need to run Python code inside Spyder. I just turn on my bluetooth/trackpad combo, connect it to my S10+, jack myself into my tailnet, MultiVNC my way into my server and BAM.

-MagicDNS deserves its own praiseful review. Not only did it assign a permanent, simple domain name to all my Tailscale-enabled devices, but it allowed me to configure my own DNS server for Tailscale-connected devices. I was then able to choose custom DNS servers for specific domains, which let me block FireTV updates without compromising my security (The DNS server used for that looks a little sketchy so I don’t want all of my traffic to go through it) and also use AdGuard DNS without breaking Doordash’s Dasher app by routing doordash-specific DNS requests to Google’s DNS and not AdGuard’s. Solid win here, as Adguard's DNS bricks the Dasher app. Let me know in the comments if you want to see my Magic-DNS configuration.

-FUNNEL: By running a funnel (proxy) on my home server, I am able to access my dad's Bell Fibe TV channels through their web interface from anywhere on Earth - Bell treats my traffic as if it's coming from my home network! It will NOT work if you use the mobile app, but works flawlessly from within Samsung Internet, Safari (on mac) and Grazing 3 (on iOS). Also, it’s quite neat to browse with my Canadian IP even when I am travelling (no more annoying "cookie consent" notices when in the EU). I suspect Netflix users could use this sort of setup to get around password-sharing restrictions. I am also running funnels on my firesticks just in case I need more bandwidth.

-SUBNETS: I am running a subnet on my home server so that I could adb into my firesticks and manage them remotely with scrcpy (update apps, install tweaks, etc). Yes, I am not a huge fan of the command line ^^' . I can also access my wifi cameras remotely from my mac. The desktop app for the cheap chinese ones only allows you to manage them over LAN, but Tailscale takes care of that. Works like a charm!

I am beyond pleased with everything Tailscale enables me to do. It baffles me that this technology is somehow free to use. I am extremely grateful to be a part of the Tailscale community. Thank you!!

Share your ideas and questions in the comments.

top 50 comments
sorted by: hot top controversial new old
[-] Charming-Molasses-22@alien.top 3 points 10 months ago

Tailscale doesn't respect local traffic and they have refused to add split tunneling on their Android VPN client. For these simple reasons, I would never take this product seriously.

[-] clarksonswimmer@alien.top 1 points 10 months ago

You must be a very serious person

load more comments (4 replies)
[-] emhc1218@alien.top 3 points 10 months ago

Serious question, what makes tailscale so great? Isn't it just vpn? I have been using wireguard for years and am now seeing everyone saying how great tailscale is but I can't see any difference between them. If I already have wireguard setup and running, is there any point to look into setting up tailscale?

[-] XTJ7@alien.top 3 points 10 months ago

Not really, no. Tailscale uses wireguard under the hood. It has a nice user interface and makes setting up a split VPN super easy. It also provides relatively easy ways to do ACL between devices. If you already got wireguard set up, you can skip tailscale.

[-] blkwolf@alien.top 1 points 10 months ago

I have been running wireguard for a couple of years now, with a DigitalOcean VPS setup as the main server.

One thing I've noticed, is that specific wg clients will occasionally lose their connection to the wireguard network, and I'll have to find some way to get to that machine and then a simple ping will re-establish it's connection, and I can access that system again.

Started using tailscale a few months ago, parallel to the wg network, and have never ran into that issue with the tailscale daemons. I started using ts, as my backend remote to the wg locked out systems to get wg working again, but ts has been so reliable vs straight wg, that I'm now making it my preferred connection preference.

[-] XTJ7@alien.top 1 points 10 months ago

To be clear: I too am using tailscale for its convenience and reliability. While I havent had any issues with wireguard clients, it is interesting to see that there may be cases where switching from wireguard to tailscale can actually still make sense.

[-] xzaz@alien.top 1 points 10 months ago

But it is not opensouce and free?

[-] XTJ7@alien.top 1 points 10 months ago

The client is not, no. Wireguard is open source and you can selfhost headscale, which is an open source server for tailscale, provided by tailscale themselves.

load more comments (2 replies)
[-] blackstar2043@alien.top 1 points 10 months ago

For the time being, their recent additions to wireguard-go have increased its performance by nearly double when compared to the kernel version.

From what I've read, the patches are currently under revision by zx2c4 for the kernel version.

[-] XTJ7@alien.top 1 points 10 months ago

Oh, that is crazy! I think I should do a bit of performance testing then :)

[-] Nathoufresh@alien.top 1 points 10 months ago

What also makes it great it's the NAT traversal techniques. I've had trouble escaping my school network with plain wireguard (tried different ports and ideas). With tailscale I have never find a network I can't escape.

[-] robberviet@alien.top 1 points 10 months ago

It is simple. One click and done.

[-] ProbablePenguin@alien.top 1 points 10 months ago

It's just the ease of use, Tailscale sets everything up for you, keeps track of IPs so you don't need to manually define endpoints, and handles NAT negotiation.

[-] intelatominside@alien.top 1 points 10 months ago

I was also using Wireguard (and OpenVPN) until my ISP let's me share the ipv4 with my neighbors. Now I need Talescale.

[-] themedleb@alien.top 1 points 10 months ago

The 1st and main reason I use it for, is to avoid port forwarding.

load more comments (4 replies)
[-] SecretaryOfDefensin@alien.top 2 points 10 months ago

I mean, if you're giving up on self-hosting, sure.

[-] AlaskaInWinter@alien.top 2 points 10 months ago

Access SMB… what’s the speed you generally get? I have tried it, and I’d be lucky if it gets 8-16 Mbps over 1Gbps up/down on both sides.

load more comments (2 replies)
[-] ElevenNotes@alien.top 2 points 10 months ago

Wait till you learn about Wireguard.

[-] cfouche@alien.top 2 points 10 months ago

Tailscale uses wireguard under the hood

load more comments (1 replies)
load more comments (4 replies)
[-] Stetsed@alien.top 2 points 10 months ago

Honestly I do love tailscale, but every time when I start using it I am just like... meh. I don't need a bunch of interconnected as I have 1 homelab, and for other stuff like my backup system it goes over v6 so there is no NAT to speak off(just a firewall). And for any remote devices I just use plain wireguard including my always on VPN on my devices.

However I will continue to recommend Tailscale to people who are new to selfhosting and don't want to deal with all the networking bullshit, and hey if you want to not be reliant on the tailscale control server host headscale.

[-] brando56894@alien.top 1 points 10 months ago

Welcome to the world of VPNs.

[-] HuDiNi27@alien.top 1 points 10 months ago

What can Tailscale do that Zerotier can't?

[-] DevelopedLogic@alien.top 1 points 10 months ago

Attract tech furries with it's name

[-] justlikeyouimagined@alien.top 1 points 10 months ago

Can you go into more detail about your Bell Fibe TV setup? Does it only work in a browser or did you find a way to make it work with an Arris box or Android TV device (which, if it's on the Bell network, should let you watch any channel you subscribe to)?

I'm wondering how IGMP snooping/multicast would work through the tunnel if I wanted to put a box elsewhere.

[-] yarov3so@alien.top 1 points 10 months ago

So the thing is, my dad pays for Bell Fibe Internet and TV and when I am on LAN, I can watch all the channels that the subscription includes from virtually ANY device (firesticks, iphones, androids, laptops, etc.) either by downloading the Bell Fibe TV app from the appstore or by going to https://tv.bell.ca/home. Bell detects automatically that I am connected to the internet through them, as well as my dad's subscription (no need to log in or anything). I can trick Bell into thinking that I am at home by running a funnel on my server with the help of Tailscale. Now, when I am away from home, the app will only work when I am on wifi AND connected to Tailscale AND using my server at the exit node (funnel). If I am on cellular, I have to use the website I mentioned earlier. The best browsers for that are Samsung Internet on android and Grazing 3 on iOS, since they allow the picture to fill the entire screen. In principle, you should be able to access your subscription from any device that has a web browser and can run Tailscale.

[-] FritzSchnitz@alien.top 1 points 10 months ago

Fire tv sticks are useful?

Total agree though I think Tailscale is amazing

[-] yarov3so@alien.top 1 points 10 months ago

They are pretty darn good and versatile once you get rid of all the bloatware and ads, and remap the remote buttons. For instance, with AirReceiver installed, they become as good as an appleTV for screen mirroring (mac and iphone). Also, the ability to seamlessly sideload is paramount for me, which is why I will never own an appleTV. I remapped my app buttons to the apps I want, as well as the home button to Wolf Launcher and it's mint now. I keep Tailscale running continuously on both of my firesticks.

I used to bring my firestick along for the ride when I travel, but these days, I just run Wolf Launcher through Samsung DeX on my S10+. With the right settings, it does everything the firestick can do and more.

load more comments (1 replies)
[-] freshmeat09@alien.top 1 points 10 months ago

I set it up in the last couple months as well, but am using headscale as my controller on a small vps.

[-] -SHINSTER007@alien.top 1 points 10 months ago

thanks for the effort write-up, I'm still trying to wrap my mind around how this works beyond its just magic

load more comments (2 replies)
[-] oh_gosh_its_osh@lemmy.ml 1 points 10 months ago

Thanks for the writeup. I was also thinking of using tailscale or headscale for some of my usecases. From my understanding so far it's great for personal stuff, but unsure how it would work for more users.

[-] CAP_NET_ADMIN@alien.top 1 points 10 months ago

I have a customer pushing 15Gbit/s of their production traffic in a microservices setup through Tailscale - it works fucking great and they've never had issues with it.

[-] madroots2@alien.top 1 points 10 months ago

I love Tailscale and it became business critical for me. I just love their generosity with their free plan, and that shit just works. I love it too man.

[-] numblock699@alien.top 1 points 10 months ago

It is great but ZT solutions like twingate is just so much easier and faster.

[-] oh_gosh_its_osh@lemmy.ml 1 points 10 months ago

Haven't heard of twingate, but sounds a lot like the same as OpenZiti.

[-] lilolalu@alien.top 1 points 10 months ago

Boy, can "guerilla" marketing get more obvious?

[-] byronsucks@alien.top 2 points 10 months ago

I started using tailscale a while ago and it is quite nice tbf

[-] pthsim@alien.top 1 points 10 months ago

What? Is recommending a product you like marketing?

Or is OP affiliated with them in any way?

load more comments (4 replies)
[-] idontmeanmaybe@alien.top 1 points 10 months ago

I tried Tailscale a while back, but it had a fatal flaw: it chewed through battery on iOS. Maybe they fixed that by now. I switched to wireguard so I haven't had a need to go back to it.

[-] jmtamere@alien.top 1 points 10 months ago

How did you setup Funnel for Bell? I don’t quite get how you did it. Thanks

load more comments
view more: next ›
this post was submitted on 26 Nov 2023
6 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS