For those who don’t know, playit.gg is a free/cheap service for exposing self-hosted local game servers to the wider internet.

But as someone who already has access to a cheapish VPS, I’m curious if anyone knows of any self-hostable alternatives that I could just run as a container on my VPS.

I’ve been toying with using Wireguard UDP tunneling, but it’s proving to be a little bit more difficult and complicated than I was bargaining for. So if anyone knows of anything out there that does something like this, I’d be grateful!

    • Ekky@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      7
      ·
      4 hours ago

      The game server is probably behind a NAT. I’m standing in the same situation.

      Got a small VPS with a TCP VPN to access all my devices despite location, and a comparably powerfull server behind a NAT which I would like to host UDP services on.

      It needs to be said that we are talking actual VPNs here, and not “VPN-as-proxy” to spoof your location etc.

      • mrmaplebar@fedia.ioOP
        link
        fedilink
        arrow-up
        4
        ·
        4 hours ago

        Yeah, that sort of thing.

        I should say that I’m finally having some luck with using wireguard, so I’m making progress. Got a few rounds of Counter-Strike in with a friend about an hour ago!

        • rollin@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          33 minutes ago

          Would that be CS 1.6? Can you get your game server to appear in the public list when you do it this way?

        • Ekky@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          3 hours ago

          Can’t port forward through the CGNAT of my ISP, only my own router’s NAT.

          That is, unless I buy a unique IPv4 from my ISP.

            • Ekky@sopuli.xyz
              link
              fedilink
              English
              arrow-up
              1
              ·
              edit-2
              53 minutes ago

              As I said, I’ve got a VPS. The VPS is not on my local net, but in a datacenter. As part of being a VPS it has a unique IPv4.

              My VPN (which I currently use for TCP traffic) is hosted on the VPS, giving me access to (and from) all devices connected to my VPN regardless of whether they are behind a NAT or not.

              I’ve also got a beefy server which hosts more power hungry services, though this one is behind multiple layers of NAT. I can forward and reverse-proxy TCP services from the beefy server through the VPN and out to the public net using another server with a unique IPv4 just fine.

              What I (and OP) need, is to also be able to forward\reverse-proxy UDP services from a beefy NATed/firewalled server through a VPN and out to the public internet using another server which has a unique IPv4.

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    11
    ·
    10 hours ago

    It looks like a VPN, just reskinned as-a-service.

    If manual Wireguard is giving you trouble, try Netbird.

    • mrmaplebar@fedia.ioOP
      link
      fedilink
      arrow-up
      5
      ·
      5 hours ago

      I was hoping to have servers be more public, so visible on the master server list and able to be joined by random people. (I’m a glutton for punishment I guess. lol)

      • Ekky@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        24 minutes ago

        I think I saw that tailscale (or netbird, the open source and selfhosted version) also can reverse proxy UDP traffic.

        I’ll take a look at it later today.

  • hexagonwin@lemmy.today
    link
    fedilink
    English
    arrow-up
    4
    ·
    10 hours ago

    i usually connect two machines with tailscale and use ssh forwarding

    use autossh if you want auto reconnect after ssh disconnects with broken pipe

  • smegger@aussie.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 hours ago

    You could look at pangolin as well. There’s a number of guides on YouTube. Essentially a wire guard tunnel to your VPS.