this post was submitted on 10 Jul 2023
1 points (66.7% liked)

Selfhosted

40726 readers
469 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 2 years ago
MODERATORS
 

Hi guys! So I have a server in a place where the router has CGNAT. I have most of my self-hosted stuff on a home server on my home, but that one is hard to reach. At the moment I connect to it via a VM running Windows running Teamviewer (I know, I know...that's what I could come up with that kinda worked at that moment). I'm trying to get that server to reach mine and be able to show the pages to the services I run there. How can I do this? I have already a PiVPN server on my home, and it works well enough, but not sure how could I make that remote server to VPN to my place and then be pingable and reachable...

Any ideas? Thanks so much!

top 2 comments
sorted by: hot top controversial new old
[–] johnnyfive 1 points 1 year ago

you can use tailscale and connect by vpn on your network.

or if you want to expose the services say sonarr.domain.xyz you will have to use cloudflare tunnel.

these two options will make bridges from inside your network to the outside, without the need for a public IP

[–] corroded 1 points 1 year ago

Set up a VPN client on your remote server, then use the remote server to connect to your home VPN. Set up routing at home to route traffic over the VPN connection to your remote server as needed. From there, you can access your remote system as if it was a local machine on your network.