this post was submitted on 15 Jun 2024
32 points (97.1% liked)

Linux Gaming

15770 readers
139 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

Hi thank you for helping me with my last issue (Sunlight remote desktop). Now I have encountered another issue VPN. I'd like to use Hamachi to play remotely with a friend (he'll be using Moonlight to connect to my Linux PC) the problem is that he's using a M1 Mac and Hamachi is not working on those. Maybe you guys have a better and open source alternative for Hamachi that's also "easy" to setup and connect to.

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 35 points 4 months ago (1 children)

Tailscale

It's WireGuard based and it's completely free for 100 devices.

[–] [email protected] 13 points 4 months ago

I've used Hamachi for going on 20 years. Tailscale is the closest I've come for ease of use/setup.

It's almost as easy as Hamachi.

[–] [email protected] 11 points 4 months ago (1 children)

Zerotier has been the best alternative in my experience.

[–] [email protected] 7 points 4 months ago (1 children)

I've tried Zerotier before and it doesn't hold a candle to Tailscale.

[–] [email protected] 4 points 4 months ago (1 children)

ZeroTier pros:

  • Exit nodes don't break if I lose wifi for a moment
  • Works with custom DNS setups out of the box
  • Allow-LAN actually works on Android, rather, is the default
  • No member limits for free
  • No need to disown devices and putting them into tags to be able to set SSH ACLs
  • Works out of the box with other overlay networks and VPNs

ZeroTier cons:

  • No freemium tunneling feature
  • No convenient browser-based SSH that only admins can use for some reason
  • Not nearly as sexy

Candles are punching above their weight these days, it seems

[–] [email protected] 3 points 4 months ago (1 children)

On features ZeroTier > Tailscale, but the existance of headscale and ionscale brings me back all because ZeroTierOne is BSL, aka not FOSS.

[–] [email protected] 3 points 4 months ago

Yeah, that's a pretty huge con honestly.

My sheer frustration with all this tiny to grievous papercuts with Tailscale years on got the best of me— Even the Android Magic DNS bug only got fixed last month. But hey, I'm still using it, instead of ZeroTier so that's something :D

[–] [email protected] 4 points 4 months ago* (last edited 4 months ago) (1 children)

Any open VPN protocol that MacOS supports will work. I'd actually say, you're better off not using something like Hamachi. Keep in mind, allowing your friend direct VPN access to your network without any extra rules will allow them full access to everything on your network, so make sure you only allow traffic to things you want them to access.

Check if your router already has a VPN Server you can enable and let your friend connect to and set it up (easiest option). If not, just run the VPN server on your machine, and forward the port from your router to your machine.

[–] [email protected] 3 points 4 months ago

Hamachi only does direct machine-to-machine connects, it doesn't provide Subnet routing.

[–] [email protected] 3 points 4 months ago (1 children)

You could try Tinc but it's fairly involved to get running. Pretty nice if you have a root server and want to get several people wired up, though. There are probably easier solutions for your use case.

[–] [email protected] 3 points 4 months ago (2 children)

Tinc is terrible

It's awful to setup, and hasn't been updated in years. Anything Wireguard, or Wireguard-based will be lightyears better.

[–] [email protected] 1 points 4 months ago (1 children)

It's a shame Tinc hasn't had a release, because 1.1 made it much easier to set up, and is what I used before switching to Headscale. I'd actually go back to it if 1.1 got officially released =P

[–] [email protected] 1 points 4 months ago (1 children)
[–] [email protected] 1 points 4 months ago

Eh. 1.1 made it as easy as running a command on both machines (A lot like how Tailscale does it)

[–] [email protected] 1 points 4 months ago

Good to know. We initially set that network up well over a decade ago so my knowledge isn't exactly current.