this post was submitted on 29 Oct 2023
11 points (92.3% liked)

Self Hosted - Self-hosting your services.

10919 readers
2 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
 

Hi, guys. Like in the title. I have orangepi5 with some services like nextcloud or grafana. I would like to access to those instances from outside - but I don't want to open ports.

Could you guys point me how can I achieve that?

Do I need to set domain for home services? I have heard that people recommends cloudfare tunnel, but I think cloudfare tunnel does not work with subdomain like duckdns. Do I need to buy domain for my case? One more think, if I set this tunnel or maybe other solution- should I go with https (lets encrypt) solution?

Thank You

you are viewing a single comment's thread
view the rest of the comments
[–] SmashingSquid@notyour.rodeo 19 points 8 months ago (3 children)

If you don’t want it publicly exposed to the internet you can use a vpn. Tailscale is probably the easiest.

[–] karcio@lemmy.world 3 points 8 months ago (2 children)

for this I am using zerotier - and I can connect from outside but ... using IPs which is not great. Would like to use domains

[–] navi@lemmy.tespia.org 7 points 8 months ago* (last edited 8 months ago)

Sounds like you want to set up DDNS (dynamic DNS). Basically run a little script on your router or server that occasionally updates a domain name with your IP address.

Many free options. DuckDNS, Cloudflare, etc.

[–] pe1uca@lemmy.pe1uca.dev 3 points 8 months ago

I'm using PiHole with my tailscale to use their MagicDNS.
This shares the PiHole among all the devices connected to the tailnet, and in the PiHole you can configure your local DNS to point your domains to your tailIP.
My setup has several services in a single machine, so there's also the issue of ports, for that I use caddy as a reverse proxy, which also allows me to have HTTPS only configuring the key to my registrar for the DNS challenge