this post was submitted on 26 Jun 2024
297 points (93.5% liked)

Selfhosted

40198 readers
522 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 1 year ago
MODERATORS
 

Centralization is bad for everyone everywhere.

That bring said... I just moved my homeserver to another city... and I plugged in the power, then I plugged in the ethernet, and that was the whole shebang.

Tunnels made it very easy. No port forwarding no dns configuration no firewall fiddling no nothing.

Why do they have to make it so so easy...

you are viewing a single comment's thread
view the rest of the comments
[–] Darkassassin07@lemmy.ca 24 points 4 months ago (3 children)

Unless you are behind CGNAT; you would have had the same plug+play experience by using your own router instead of the ISP supplied one, and using DDNS.

At least, I did.

[–] qaz@lemmy.world 6 points 4 months ago (3 children)

Yes, but it does expose your own IP address and thus where you live. Tunnels don't.

[–] Lem453@lemmy.ca 11 points 4 months ago (2 children)

True, but the downside of cloudflare is that they are a reverse proxy and can see all your https traffic unencrypted.

[–] qaz@lemmy.world 3 points 4 months ago* (last edited 4 months ago) (1 children)

Yes, but if you host a public site it might be a better option, the content is public anyway, and you won't get doxed if you publish something controversial. It's a trade-off, between keeping traffic private or keeping your IP private. Wireguard works best for private traffic, but you can't host a public site with that.

[–] Illecors@lemmy.cafe 3 points 4 months ago

Wireguard works best for private traffic, but you can't host a public site with that.

Of course you can! Nginx and wireguard on a VPS and actual services wherever you want.

[–] Aux@lemmy.world 3 points 4 months ago (1 children)

Your IP changes all the time, it doesn't matter. The best someone can deduct from your IP is the country.

[–] qaz@lemmy.world 4 points 4 months ago* (last edited 4 months ago) (3 children)

This is false. Some ISP's change IP's often, but some don't and sometimes geoip lookups can be really accurate. My IP has remained the same since I moved in, and a geoip lookup results in a coordinate less than a kilometer away. It does matter.

[–] Aux@lemmy.world 4 points 4 months ago

I guess you live in a country with loads of spare IP addresses. Here in the UK they change every few days and IPs get rotated between all ISPs, so you can't even deduct which ISP I'm using. And sometimes my IP is not even a mainland UK IP, but some weird shit from across the world, because Empire, lol.

[–] pirat@lemmy.world 3 points 4 months ago (1 children)

When looking up my static ip, the location I get is the one of my ISP, not my address. Do you happen to live nearby some central infrastructure of your ISP? (If it seems otherwise, I'm not trying to debunk what you said - I'm just asking curious questions!)

[–] qaz@lemmy.world 1 points 4 months ago

Yes, it seems to be a hit or a miss. I don't think I live near any central infrastructure or ISP, especially not this specific part of the city.

[–] Auli@twit.social 1 points 4 months ago

@qaz @Aux now you’ve just exposed where you live not your ipaddress. Nobody would have thought it was that close now they do.

[–] Auli@twit.social -1 points 4 months ago (2 children)

@qaz @Darkassassin07 what are you even saying? Ip address doesn’t expose where you live. And better get off the internet right now if your concern is exposing your ip cause it was never secret to begin with.
Tunnels stop you from opening a port so nothing is exposed openly to the internet but it does not keep your ip private.

[–] qaz@lemmy.world 3 points 4 months ago* (last edited 4 months ago)

Ip address doesn’t expose where you live.

https://letmegooglethat.com/?q=geoip+lookup

Tunnels stop you from opening a port so nothing is exposed openly to the internet^1^ but it does not keep your ip private^2^.

This is also incorrect.

  1. The entire purpose of CF tunnels is to expose sites on the internet
  2. CF tunnels (and services like it e.g. ngrok) rely on shared proxy servers that forward traffic based on HTTP host headers (which is why you can't forward arbitrary TCP traffic). The IP of the site will therefore have the shared IP of the company's proxy server instead of your own.
[–] princessnorah@lemmy.blahaj.zone 2 points 4 months ago

How do you imagine that geoblocking content works if IP addresses don't expose where you live?

And better get off the internet right now if your concern is exposing your ip cause it was never secret to begin with.

qaz could be using any of dozens of different methods to obfuscate their IP from the wider internet to write their comment, Tor or a VPN to name just a couple.

[–] IsThisAnAI@lemmy.world 2 points 4 months ago (2 children)
[–] lemming741@lemmy.world 2 points 4 months ago

I didn't skip it, I installed ddclient.

Cloudflare is the devil!

[–] Darkassassin07@lemmy.ca 1 points 4 months ago

and using DDNS

As in, running software to update your DNS records automatically based on your current system IP. Great for dynamic IPs, or just moving location.

[–] f2sfljLhdtTZ@lemmy.world -3 points 4 months ago (3 children)

Not entirely. CF can protect you from DDOS of up to a few millions of calls per minute. Your home router would melt with that traffic. They also act as a firewall if you enable the proxy dns feature. They do a sanity check before forwarding the call. Also a home router cannot do this. And there's more.

[–] lemmyvore@feddit.nl 12 points 4 months ago (2 children)

Both your ISP and CF will drop you like a hot potato if you're ever under that kind of attack.

CF has other features that are nice like, like WAF, bot detection, geo blocking, caching etc. But it's only a taste.

All their real services are paid and the whole reason they offer a free tier is to upsell you to their paid services.

[–] Auli@twit.social 2 points 4 months ago

@lemmyvore @f2sfljLhdtTZ You can geoock without CloudFlare.

@lemmyvore @f2sfljLhdtTZ cloud flare doesn't drop you in that situation, I've been using them for years and seen them quietly and contently mitigate attacks for my clients

[–] Darkassassin07@lemmy.ca 2 points 4 months ago

Sure, cloudflare provides other security benefits; but that's not what OP was talking about. They just wanted/liked the plug+play aspect, which doesn't need cloudflare.

Those 'benefits' are also really not necessary for the vast majority of self hosters. What are you hosting, from your home, that garners that kind of attention?

The only things I host from home are private services for myself or a very limited group; which, as far as 'attacks' goes, just gets the occasional script kiddy looking for exposed endpoints. Nothing that needs mitigation.

[–] Auli@twit.social 2 points 4 months ago (1 children)

@f2sfljLhdtTZ @Darkassassin07 Eveyone so worried about DDoS. They are not going to DDoS a resedential Ip address. Sure if youbpiss someone off they well they're going to do it even without selfhosting anything.

[–] DaPorkchop_@lemmy.ml 1 points 4 months ago

I can assure you that before I set up Cloudflare, I was getting hit by SYN floods filling up the entire bandwidth of my home DSL2 connection multiple times a week.