this post was submitted on 09 Apr 2024
17 points (90.5% liked)

Selfhosted

39435 readers
11 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I want to host a small game server for friends and myself in my home but doesn't want to open up the firewall. Any tunneling solutions supports UDP? Thnaks.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 7 months ago (7 children)

Most VPNs use UDP. So set up a wireguard, tailscale or openvpn.

But you still need to "open up the firewall". UDP still works on ports the same way as TCP. I do agree however, that exposing a VPN port is more secure than exposing a port for a game server, as you don't know about the security of that server software.

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

I don't think you need to open any ports for a mesh network to transmit UDP packets. It's a full virtual network.

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

If you want any system to connect to you, you need to open a port. You don't need to do that for outgoing connections (the OS and your router will automatically open ports for the return connection). So if everybody connects to one central system, nobody needs to (explicitly) open any ports (except for the central connection point)

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

Thats one of the neat features of tailscale and zerotier, they can set it up so both ends are “outgoing” to the NAT so no port forwarding is needed

load more comments (4 replies)