this post was submitted on 06 Jul 2023
22 points (92.3% liked)

Selfhosted

40120 readers
1664 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] Catsrules@lemmy.ml 11 points 1 year ago (3 children)

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.one 4 points 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 1 points 1 year ago (1 children)

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 1 points 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.

[–] animist@lemmy.one 0 points 1 year ago (1 children)

Is that last one almost like a reverse proxy?

[–] Catsrules@lemmy.ml 2 points 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.