• ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    11 months ago

    Off the top of my head, I can think of 3 ways.

    1. Using a VPS and DDNS (I personally do this):
      • Pros: Super easy for others to access, you just give them the address.
      • Cons: Not free. (Oracle free tier might work, but it’s unreliable.) But there are cheap VPSs as low as $12/yr that work pretty well. Also, it’s a bit harder to setup since you’ll need to create a VPN tunnel between your local machine and the VPS.
    2. Using tailscale or zeroties:
      • Pros: Free, and easier to setup than a VPS.
      • Cons: People need to install extra apps to access your server.
    3. By port forwarding:
      • Pros: Super easy to setup, just need to forward the ports through your router.
      • Cons: You’re opening a port to the internet, which is less than ideal. Also, it won’t work if you’re behind a NAT.
    • strahlemann@feddit.de
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      11 months ago

      For 1. you don’t necessarily need a VPN. A reverse tunnel using SSH should be sufficient and is easier.