mfat,

Tailscale

2xsaiko,
@2xsaiko@discuss.tchncs.de avatar

If you have IPv6, those are public and usually static.

Catsrules,

You have a few options. Depending on what your trying to do you could look into Tailscale or ZeroTeir. Basically they create a small VPN that you can join multiple devices to. This won’t open the services to the public internet but it will open the services to whatever devices join your private Tailscale/ZeroTeir network running over the public internet.

Someone already mentioned but CloudFlare Tunnels would be a really good fit as well.

Another option but more expensive and most complex is rent a VPS in the cloud somewhere setup a VPN link between the box and your PC and then route the traffic thought that VPS. All public access will hit your VPS public IP and port numbers and get relayed though that back to your PC.

animist,
@animist@lemmy.one avatar

Is that last one almost like a reverse proxy?

Catsrules,

Yeah a reverse proxy would be a really easy way to do it. Assuming whatever your trying to expose will work with one.

But for traffic like a game server or something else that doesn’t use the traditional http protocol you could also setup the VPS as more of a router/NAT if you wanted.

Although that said I think NGINX can do a proxy stream that will work with most TCP/UDP connections no matter the protocol, I haven’t ever done it so I can’t say how universal that works.

leraje,
@leraje@lemmy.world avatar

One thing I’m wondering about tailscale or zerotier or setting up a VPN on a VPS - how would that affect me using a 3rd party VPN client (e.g. Proton, Mullvad etc) on my PC and/or phone?

To connect to a locally hosted service using one of those options, would I have to first disconnect from the 3rd party client?

Catsrules,

Probably depends on how the OS handles multiple VPN connections. Technically I see no reason why you can’t have multiple VPNs active at once.

redcalcium,

Tailscale and Zerotier might be suitable for this, and they’re free for personal use. The can be used to work around NAT because they can route your traffic over their transparent relays.

TheroRando,

That’s Really Lovely to hear and I am just a tad bit curious, How can someone make sure that the relay’s are transparent? You cannot really go and check it there to find out, can we?

redcalcium,

Transparent here means the use of the relay is invisible to you. If two devices under the same tailscale/Zerotier network can access each other (e.g. in the same lan), then the relay won’t be used. But if both devices are under separate networks (e.g. one in your home, and the other is your phone while outside your home, and both devices are behind NATs), the relay will be automatically used as a bridge so both devices can communicate with each others.

Connections to relays are encrypted, but Zerotier allows you to setup your own relay server if you worry about privacy. Not sure about tailscale.

luki1051,

You could check out Cloudflare Tunnels.

If you want something self-hosted here’s a huge list: github.com/anderspitman/awesome-tunneling

TheroRando,

Just checked it out! It’s Real Great.

But as Users mentioned ZeroTier and TailScale, I really like those options, just keeping the services private and to myself, but will be hosting my website through this tho,cheers :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • KbinCafe
  • TheResearchGuardian
  • oklahoma
  • feritale
  • SuperSentai
  • KamenRider
  • All magazines