this post was submitted on 19 Jun 2025
163 points (98.8% liked)

Selfhosted

61378 readers
351 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
 

I'm pretty new to selfhosting and homelabs, and I would appreciate a simple-worded explanation here. Details are always welcome!

So, I have a home network with a dynamic external IP address. I already have my Synology NAS exposed to the Internet with DDNS - this was done using the interface, so didn't require much technical knowledge.

Now, I would like to add another server (currently testing with Raspberry Pi) in the same LAN that would also be externally reachable, either through a subdomain (preferable), or through specific ports. How do I go about it?

P.S. Apparently, what I've tried on the router does work, it's just that my NAS was sitting in the DMZ. Now it works!

you are viewing a single comment's thread
view the rest of the comments
[–] jacksquat@what.forfi.win 2 points 1 year ago (3 children)

Honestly Cloudflare Tunnels could be a very simple way to do it. I've always had tremendous luck with it. By using CF you can let them do all the heavy lifting instead of hosting your own... as long as you trust them.

[–] BroBot9000@lemmy.world 5 points 1 year ago (2 children)

They are a plague with how prevalent they have become.

The internet shouldn’t put all its eggs into one basket.

It’s just another centralized entity which will lead to monopolized power. It goes against what we are trying to do with federated networks like Lemmy and mastodon.

[–] Flax_vert@feddit.uk 2 points 1 year ago

What's a better alternative that offer good ddos protection and tunnels

[–] aspoleczny@lemmy.world -1 points 1 year ago* (last edited 1 year ago)

I prefer to use products and services before inevitable enshittification, not after the curve. Refusing to use them won’t change their fate.

[–] rikudou@lemmings.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

You can use frp to do the same thing a CloudFlare tunnel does without giving them your unencrypted data.

https://github.com/fatedier/frp

[–] aspoleczny@lemmy.world 1 points 1 year ago (1 children)

It's definitely not the same thing. I do understand reservations behind usage free-tier services from Big Bad Corp., but I don't understand malicious reduction of valid arguments for usage of those services.

[–] rikudou@lemmings.world 1 points 1 year ago (1 children)

It literally does the same thing, except it's self hosted?

[–] aspoleczny@lemmy.world 1 points 1 year ago

No public server required at all

  • CF: Yes

  • frp: No

DDoS protection, WAF, and automatic SSL

  • CF: Yes

  • frp: No

Access controls and auth

  • CF: built-in Zero Trust

  • frp: manual setup of token/OIDC

Managed DNS

  • CF: Yes

  • frp: No

Built in security tools

  • CF: Yes

  • frp: No


Just like I said - prevalent reduction of valid arguments for usage of those services.

[–] Allero@lemmy.today 2 points 1 year ago* (last edited 1 year ago) (2 children)

While not supportive of Big Tech, I do appreciate your piece of advice, and understand self-hosting needs differ!

P.S. Also beware, seems like there's a new attack through Tunnels:

https://www.csoonline.com/article/4009636/phishing-campaign-abuses-cloudflare-tunnels-to-sneak-malware-past-firewalls.html

[–] jacksquat@what.forfi.win 3 points 1 year ago

Thanks for the heads up!

[–] aspoleczny@lemmy.world 1 points 1 year ago

Again, attack targets end users, not Cloudflare tunnel operators: It abuses Cloudflare Tunnels as a delivery mechanism for malware payloads, not as a method to compromise or attack people who are self-hosting their own services through Cloudflare Tunnels.