• ѕєχυαℓ ρσℓутσρє@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    1 year 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.