this post was submitted on 11 Mar 2024
50 points (96.3% liked)

Selfhosted

61207 readers
333 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS
50
submitted 2 years ago* (last edited 2 years ago) by fahad@lemmy.world to c/selfhosted@lemmy.world
 

What do you guys use to expose private IP addresses to the web? I was using the npm proxy manager with Cloudflare CDN. However, it stopped working after I changed my router (I keep getting error 521). Looking for an alternative to Cloudflare cdn so I can access my media server/self-hosted services away from LAN.

(Tailscale doesn’t work for me at all)

This is what I want to achieve: https://youtu.be/c6Y6M8CdcQ0?feature=shared

I literally followed this tutorial to make it work the first time.

you are viewing a single comment's thread
view the rest of the comments
[–] tritonium@midwest.social 16 points 2 years ago* (last edited 2 years ago) (2 children)

Wireguard.

Unless you actually have a need for the public to access the services then you shouldn't be exposing them. If it's just you and a few household members that need access then you should be using ddns and wireguard, or similar.

My phone auto connects with wireguard as soon as I leave my home ssid, so I never lose access to my services.

[–] chiisana@lemmy.chiisana.net 4 points 2 years ago

Does Wireguard have a centralized server that the server at home connect to in order to expose itself? If not, I don’t see how it’d work for OP, because at this point, based on info shared, I’m inclined to think OP is having trouble exposing ports (be it ISP imposed or knowledge gap) as opposed to having issue with the service / vendor.

[–] PunkiBas@lemmy.world 2 points 2 years ago (2 children)

My phone auto connects with wireguard as soon as I leave my home ssid, so I never lose access to my services.

How do you do that? Tasker?

[–] thatsnothowyoudoit@lemmy.ca 6 points 2 years ago

I’m on iOS and do the same thing.

The WireGuard app has a setting to “connect on demand”. It’s in the individual connections/configurations.

You can then set either included or excluded SSIDs. There’s also an option to always connect when you’re on mobile/cellular data.

I imagine the Android app is similar.

[–] Lifebandit666@feddit.uk 2 points 2 years ago

Not OP but I've been playing with Wireguard (and failing) for a short while and have noticed an option in my Android Phone's settings to always connect to this VPN. Probably that