News for hackers. Stuff that matters.
Re:Show HN: A tool to self host game servers with a free sta... by sockaddr on Wednesday June 09, 2021 @01:53PM (#27450940)
My coworker's kid uses zerotier to maintain a private gaming network with static IPs for all their friends. Does your system have anything similar or is it just out in the open? Taking a cursory glance at your page it's hard to tell exactly what is being done. Looks cool though.
Re:Show HN: A tool to self host game servers with a free sta... by sjnair96 on Wednesday June 09, 2021 @05:39PM (#27453586)
Just fyi, I've found Tailscale to be excellent for this purpose. I just created a new google account, for sharing with friends and family to log in to tailscale, and it's completely free. A relay on my Raspberry pi allow me to expose select devices to those connected to my tailscale.

Easy, magical NAT traversal.

- https://tailscale.com/blog/how-nat-traversal-works/

Edit: Oh wow. I just ran into innernet. Looks like a self-hosted FOSS alternative to tailscale, and also cool blog

- https://blog.tonari.no/introducing-innernet

Re:Show HN: A tool to self host game servers with a free sta... by ethanmad on Wednesday June 09, 2021 @10:28PM (#27456046)
You actually don't need to share your account with friends and family to share access with Tailscale. You can share devices instead: https://tailscale.com/kb/1084/sharing/. (I believe the doc is out of date and that this is now a production feature.)

I use this for sharing a media server with family and friends and it works great!

Re:Show HN: A tool to self host game servers with a free sta... by 1vuio0pswjnm7 on Wednesday June 09, 2021 @08:10PM (#27455111)
Looks like innernet relies on third party "Nebula" from "Slack Technologies" (commercialised IRC) which uses 70.199.182.92.

Perhaps the definition of "self-hosted" varies from person to person. The definition I subscribe to for "self-hosted" peer-to-peer is that I have to supply the publicly reachable IP address and run a supernode on it. (I prefer supernodes that only provide IP:port information for peers to directly connect and do not pass any traffic once the peers are connected.) Many of the so-called "peer-to-peer" projects I see today provide the IP address of a server run by a third party as part of their default configuration, with the option that a user could run their own server on their own IP address. (How many users do that.) Under the definition I subscribe to, nothing is for "free". I have to pay for the publicly reachable IP address and run the supernode from that address. Under another person's definition of "self-hosted", a third party might be hosting a necessary server. If they stop providing that service, the "self-hosted" solution no longer works.

Re:Show HN: A tool to self host game servers with a free sta... by jauer on Thursday June 10, 2021 @12:02AM (#27456533)
Your understanding of how Nebula works is incorrect.

If you checked Nebula's readme you'd see the following:

> Nebula lighthouses allow nodes to find each other, anywhere in the world. A lighthouse is the only node in a Nebula network whose IP should not change. Running a lighthouse requires very few compute resources, and you can easily use the least expensive option from a cloud hosting provider. If you're not sure which provider to use, a number of us have used $5/mo DigitalOcean droplets as lighthouses.

Beyond that, innernet does not run on nebula.

Re:Show HN: A tool to self host game servers with a free sta... by 1vuio0pswjnm7 on Thursday June 10, 2021 @02:29AM (#27457503)
Alright, I looked throught the code. Suprisingly there is no default configuration that includes a third-party-operated resource.

https://raw.githubusercontent.com/slackhq/nebula/master/exam...

This puts Nebula in a relatively small group of what I would call true self-hosted overlay networks (by the definition of "self-hosted" I subscribe to). Kudos for that.

What drew my attention was the remote IP address in

https://raw.githubusercontent.com/slackhq/nebula/master/remo...

No idea why that is there.

Anyway, while I would not necessarily choose to run Nebula myself (I prefer smaller overlay networks, for example), it is certainly an exception to the pattern I see in so many other "self-hosted" peer-to-peer projects. I apologise if the comment I submitted implied otherwise.

Note I never suggested innernet "runs on Nebula". The words I used were "innernet relies on Nebula." Of course, that, too, is incorrect. The blog post was just comparing innernet to Nebula. My bad! I am just too cynical about peer-to-peer projects since so many fall into the same patterns I dislike; hence I skimmed where I should have read more closely.

Re:Show HN: A tool to self host game servers with a free sta... by psanford on Monday June 14, 2021 @08:39PM (#27510091)
> No idea why that is there.

That's a test file.

Re:Show HN: A tool to self host game servers with a free sta... by 3np on Thursday June 10, 2021 @01:22AM (#27456963)
Similar critique would, however, be somewhat accurate for Tailscale.
Re:Show HN: A tool to self host game servers with a free sta... by patricklorio on Wednesday June 09, 2021 @02:02PM (#27451055)
This system is a little simpler, it creates a public endpoint that will tunnel traffic to the game server over the playit program. So when the program and game server are running, anyone can connect to the server through the public address.

It has the advantage that only the server needs to run a program. It also does a few tricks like mapping each client's public IP to a LAN IP like 127.5.21.3 so ip banning / whitelisting still works in game.

Re:Show HN: A tool to self host game servers with a free sta... by sockaddr on Wednesday June 09, 2021 @02:05PM (#27451086)
Gotcha, nice work
Re:Show HN: A tool to self host game servers with a free sta... by infogulch on Wednesday June 09, 2021 @03:00PM (#27451714)
Does this also work for consoles or just pcs?
Re:Show HN: A tool to self host game servers with a free sta... by patricklorio on Wednesday June 09, 2021 @03:12PM (#27451855)
At the moment the program only run on PCs, however a few users have figured out how to run it on mobile. But that's just for the server, the server that is tunneled can be connected to by anything. We have a few users hosting Minecraft Bedrock servers that are being connected to by mobile and consoles.
Re:Show HN: A tool to self host game servers with a free sta... by oauea on Wednesday June 09, 2021 @03:30PM (#27452066)
How are people tunneling their console over the zerotier vpn? I assume this requires zerotier to be installed on the gateway, which is a bit beyond most users sadly :(
Re:Show HN: A tool to self host game servers with a free sta... by thaumasiotes on Thursday June 10, 2021 @05:05AM (#27458560)
I tunneled my switch through a VPN by entering it in the switch's proxy settings. That wasn't especially challenging.

It does mean you can unlock predownloaded time-gated games about 18 hours early, though.

Re:Show HN: A tool to self host game servers with a free sta... by atatatat on Wednesday June 09, 2021 @05:28PM (#27453477)
> a few users have figured out how to run it on mobile

Mobile hotspot//USB tether forwarding your VPN.

Re:Show HN: A tool to self host game servers with a free sta... by patricklorio on Wednesday June 09, 2021 @03:55PM (#27452342)
Oh, I was speaking for playit.gg, not sure about zerotier. I misread the comment thread.