My ISP doesn’t give a Public IP and let me open ports without paying a extra fee, which I cannot afford rn. I host all my services on a old PC, Anyways that i can access my services beyond my LAN?

  • Catsrules@lemmy.ml
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    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.

    • TheroRando@lemmy.oneOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Never Knew but This is what i am looking for, Thus on. Just Keeping the services and to myself sounds like a bliss for me. Thanks man really appreciate it 🫂

    • Leraje@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        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.

      • Catsrules@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        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.