Re:Cloud desktops aren't as good as you'd think
by digdugdirk on Thursday October 06, 2022 @10:42AM
(#33108820)
I'm a little confused as to what benefic the "MagicDNS"/Tailscale aspect is adding?
Is this faster than a traditional VPN? Is the VSCode remote development extension not able to function with a traditional VPN?
Re:Cloud desktops aren't as good as you'd think
by dugmartin on Thursday October 06, 2022 @10:59AM
(#33109064)
It just makes sshing between the machines by name very easy. You can do the same thing by assigning permanent IPs to all machines in the mesh and then updating all your host files across all the machines in the mesh. Life is too short for that.
Re:Cloud desktops aren't as good as you'd think
by Yeroc on Thursday October 06, 2022 @04:29PM
(#33113665)
Bizarre. Most VPNs used in a workplace would take care of name-based host resolution (ie DNS) for you. This is not a new thing unique to Tailscale.
Re:Cloud desktops aren't as good as you'd think
by senko on Friday October 07, 2022 @03:49PM
(#33126071)
Having set up OpenVPN a few times, and troubleshooting Cisco VPN, the new thing unique to Tailscale is that it just works.
It takes a few seconds to connect each new machine. It took me way more just to find out how I should configure Cisco's VPN client, and I do not ever want to even think about OpenVPN again.
I've also maintained a WireGuard mesh where I distributed keys and set up /etc/hosts via ansible: add a host to the inventory file, run the playbook - simple.
Yet Tailscale is even simpler than that. And (for my purposes at least) it's free.
Re:Cloud desktops aren't as good as you'd think
by corobo on Thursday October 06, 2022 @10:54AM
(#33108967)
Tailscale saves time in this. It does things like busting through NATs for you to get the VPN established, useful when on varying networks with the laptop, but yeah it is a wireguard VPN after that.
(Not op, just butting in)
Re:Cloud desktops aren't as good as you'd think
by itintheory on Thursday October 06, 2022 @10:58AM
(#33109043)
Not OP, but I think the purpose of tailscale w/ magicdns is to create a VPN connection directly between the laptop and desktop, regardless of the underlying network locations of either. I believe tailscale uses connection brokering so all connections can be outbound (no firewall policy / port forwarding). MagicDNS is probably just a quality of life improvement here.
Re:Cloud desktops aren't as good as you'd think
by IanCal on Thursday October 06, 2022 @11:17AM
(#33109320)
I have recently started doing this and it's excellent. I can just wander away from my desktop, take my laptop and go work somewhere else in the house, and I used something very similar going away abroad.
Re:Cloud desktops aren't as good as you'd think
by senko on Thursday October 06, 2022 @01:22PM
(#33111147)
Yeah, already Tailscale / WireGuard user and SSHing all around.
Didn't know VSCode had a headless mode that can be driven over the net (which is what your description sounds like), will definitely check it out, thanks.
1. Install Tailscale (https://tailscale.com/) on your laptop and workstation and enable the "MagicDNS" (https://tailscale.com/kb/1081/magicdns/) feature. This sets up a VPN mesh between your machines (and any other you add).
2. Setup you SSH keys so you can login via the "MagicDNS" domain name from your laptop to your workstation.
3. Install the VSCode Remote Development extension (https://code.visualstudio.com/docs/remote/remote-overview) on your laptop and then open a workspace on your workstation via its SSH feature using the "MagicDNS" domain.
It is surprisingly fast - you are just sending keystrokes/commands over the VPN and not rasterizing the host screen like you would with VNC.