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?
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:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
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.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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.
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?
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.
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 🫂
Is that last one almost like a reverse proxy?
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.