this post was submitted on 02 Jan 2025
12 points (80.0% liked)

Self Hosted - Self-hosting your services.

11669 readers
68 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I'm trying to host a few docker services from my house, but my IP appears to be blocking port 80, so the only way to get a domain working that I've found is domainname.com:portnumber (I have port forwarding set up in my router, and can reach a wide range of ports, but not 80).

It looks like cloudflare will point sites to my IP but not ports, and because I can't reach port 80, I can't figure a way to route things through NGINX proxy manager on the same box.

Is there a free external service I can use as a reverse proxy to point requests to specific ports on my self-hosted box? Or else, is there another way to make my sites useable without the enduser having to specify ports?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 6 days ago (2 children)

Cloudflare tunnels are the thing you're looking for, if you're not opposed to cloudflare.

You run the daemon on your local system, it connects to cloudflare, and presto, you've bypassed this entire mess.

[–] [email protected] 16 points 6 days ago

SOLVED! I had to learn how Cloudflare tunnels work, but 45 minutes later and it's doing exactly what I need, thank you so much, kind internet hero!

[–] [email protected] 4 points 6 days ago

For anyone who would prefer not to use Cloudflare, the solution is a free Oracle VPS, a Wireguard tunnel into your homework, and a reverse proxy on the VPS (Caddy is my personal preference).