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.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    8 months ago

    At some point, you have to compromise.

    • You can open the port(s) used by the game on the firewall (assuming you have a publicly routable IP).
    • You can run OpenVPN or a proprietary solution, but you’ll have to open a port on the firewall, and I know from experience that they’re a bitch and a half to configure.
    • You can run Wireguard, but you’ll have to open a port on your firewall and have the other clients generate and send you their public keys.
    • You can run Tailscale (my preferred solution), which uses Wireguard and works without opening the firewall and without a publicly routable IP (e.g. behind CGNAT), but you’ll have to install the client, have the users sign in, and then add them to your tailnet, which IMO is much easier than setting up Wireguard peers manually.
    • You can use Tailscale Funnel, which exposes your tailnet to the public internet, but it’s in beta, has high latency, and only supports TCP, so you’ll have to figure out how to smash UDP datagrams through a TCP tunnel.
    • You can try Ngrok (my backup in case Tailscale can’t connect), which is a similar NAT traversal solution, but it only supports TCP and gives you a different IP and port every time you create a tunnel.
    • Twingate also exists, I guess, but I’ve only ever used it for SSH.
    • lemmyvore@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Tailscale […] install the client, have the users sign in, and then add them to your tailnet

      You can just have them pass you the device enrollment links and add their devices to your tailnet. That way nobody else has to make an account.