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

Selfhosted

46653 readers
285 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
 

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 5 days 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 5 days 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 4 days ago

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

[–] aspoleczny@lemmy.world -1 points 4 days ago* (last edited 4 days 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 5 days ago* (last edited 5 days 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 4 days 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 4 days ago (1 children)

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

[–] aspoleczny@lemmy.world 1 points 3 days 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 5 days ago* (last edited 5 days 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 5 days ago

Thanks for the heads up!

[–] aspoleczny@lemmy.world 1 points 4 days 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.