this post was submitted on 19 Sep 2023
74 points (96.2% liked)

Selfhosted

40313 readers
281 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
 

In my ever-ongoing struggle to disentangle myself and my family from our corporate overlords I have gleefully dived into self-hosting and have a little intranet oasis available; media, passwords, backups, files, notes, contacts, calendars -- basically everything I needed the Big G suite for at one point, I'm hosting locally, and loving it. But Unfortunately... my ISP can be shitty. Normally its' fine and no complaints, but every now and then the network itself goes down for maintenance for a few hours, half a day, a day. When those outages happen even though I have a battery backup/generator, I'm basically stuck treading water, unable to even listen to podcasts. I'm wondering what the folks here' have as a contingency plan for these kinds of outages. Part of me is considering pricing out some kind of VPS for barebone, password manager, podcast player, notes etc for outages; but I haven't dipped my toe into that world yet. Just wondering what folks are doing/recommending/

top 50 comments
sorted by: hot top controversial new old
[–] witx@lemmy.sdf.org 27 points 1 year ago* (last edited 1 year ago) (1 children)
[–] kratoz29@lemm.ee 2 points 1 year ago

Coffee and any of my Chinese handhelds DS/PSP!

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

All services which I need access to when I’m not home I host on a vps. All services which need lots of storage, I host at home.

[–] Gutless2615@ttrpg.network 11 points 1 year ago

Yes seems very reasonable. I like keeping things in silicon I can touch… but I may need to look into a remote solution for some essential services

[–] dauerstaender@feddit.de 19 points 1 year ago

I plugged a mobile stick into my FritzBox and use cellular. I only tested this, never actually needed it.

[–] Eideen@lemmy.world 19 points 1 year ago (1 children)
[–] Zapp@sh.itjust.works 2 points 1 year ago

Most underrated solution!

Bliss...

[–] Illecors@lemmy.cafe 15 points 1 year ago (2 children)

Would a sim backup not solve this? Could be in a router, could be in an old phone

[–] Gutless2615@ttrpg.network 4 points 1 year ago (2 children)

Sorry could you elaborate? I feel like there's an obvious solution staring me in the face but I don't know enough to know what I don't know.

[–] Illecors@lemmy.cafe 12 points 1 year ago (1 children)

Sim card. Mobile internet. Tmobile, verizon, att in US, vodafone and the like in Europe. My ISP router has a slot for it, some 3rd party ones do, too.

You could also hook a phone up to be a secondary wan in your firewall. I'm assuming you're running something like opnsense, openwrt or the like, here.

[–] Gutless2615@ttrpg.network 4 points 1 year ago* (last edited 1 year ago) (1 children)

Oh! Yeah I’ve got some openwrt setup on my router, haven’t checked my isp modem for a SIM card slot though I doing recall seeing one. Do you know if there is a way to configure it so that it only handover to the sim if the isp goes down?

[–] RustedSwitch@lemmy.world 3 points 1 year ago (7 children)

They mean using something with a cellular radio. A router, or a tethered cellphone.

load more comments (7 replies)
[–] dandroid@dandroid.app 3 points 1 year ago

Cries in rural

[–] rentar42@kbin.social 15 points 1 year ago

My goal is to set up my services so that they can mostly live with limited connectivity. Because either my phone has no internet or my at-home ISP craps its pants, but either one will happen sometime.

So it's more about being able to gracefully resume than "perfect access".

In other words: if something stops syncing or I can't access some specific service that's mostly acceptable to me. What isn't acceptable is if the syncing got into a state that needed intervention to fix or one of my services didn't come back when service is restored.

So in a sense resilience is more important than 100% accessibility.

The small number of exceptions (mostly password saves and other minor bits) I make sure to actively sync to my personal devices so that if my selfhosted stuff goes away I'm not 100% stranded.

[–] PuppyOSAndCoffee@lemmy.ml 11 points 1 year ago (1 children)

If you are hosting everything, why do your need your ISP? Is it for access to your home services outside your home?

[–] Gutless2615@ttrpg.network 6 points 1 year ago (1 children)

Yes, several dozen services are exposed bids cloudflare tunnels. Passwords, media, podcasts, notes, calendars etc. need to bed and to access those while out and about.

[–] PuppyOSAndCoffee@lemmy.ml 2 points 1 year ago

Is it something you can address with your ISP?

Changing ISP is just not an option for most people. Sometimes a different class of service will Improve link reliability.

The other thing you could consider is some kind of mobile hotspot.

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

This probably doesn’t help you unless a competing provider is available to you, but I pay for business class internet just to avoid that issue. I pay double over residential rates, and it’s slower, but I get five static IPs and it’s rock solid uptime and latency because I get QoS’d over all my neighbors. It’s been down for more than an hour only twice in 17 years, and both times were due to cable cuts by construction work in my neighborhood. Even on those cuts my service was restored within 4-6 hours. I get better tech support, and a 4 hour response time for ANY tech issue with the service.

It’s one of the few times I’ve seen that “you get what you pay for” rang so true.

[–] Deepus@lemm.ee 5 points 1 year ago (1 children)

Whos your ISP? Sounds like the Virgin package i had but i dont remember it being that much more expensive than their residential package and im sure I had fairly comparable speeds. I had 350 down 20 up for about £50 about 3 years back

You probably won't believe this after all the good things I said, but it's Comcast. I usually leave that part out when I tell people my experience because they don't believe it. But I've found there's a world of difference between the residential and business experience with them. I absolutely would not use them for residential class service after things I've heard.

[–] bier@lemmy.blahaj.zone 7 points 1 year ago (3 children)

so most of the time if your ISP goes down power is also out so cellular service might also fail because ether the power outage or high usage by useres using it as backup maybe Starlink? as it's not affected by your local power grid

[–] Schmeckinger@feddit.de 4 points 1 year ago* (last edited 1 year ago)

I never had a power outage where I live, but internet fails from time to time.

[–] pianoplant@lemmy.world 2 points 1 year ago

Depends on the country / provider. Many cell companies provide battery backup & even gas generators

load more comments (1 replies)
[–] Morgikan@lemm.ee 7 points 1 year ago

I set up a backup cell connection to my cable internet connection. Sketchy Chinese 4G LTE modem. My router was a DIY job I set up off of Ubuntu Server. Everything ran to a Cisco switch and then was VLAN isolated. For the two WAN connections, I ran scripts from the router that periodically tried to reach out to several DNS providers and then average response rates to determine if the main connection was up. If not then it would modify default routes and push everything to the cell.

The cell connection had pretty low data cap, so it was just for backup and wasn't a home style plan. I used the old TTL modification trick to get it to pass data like a phone. When I moved the backup to 5G, TTL modification stopped working and I had to resort to creating tunnel interfaces to an actual phone. Since that tunnel is limited in bandwidth to the lowest value, my speeds were really cut in half.

[–] Decronym@lemmy.decronym.xyz 6 points 1 year ago* (last edited 1 year ago) (1 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
CGNAT Carrier-Grade NAT
DNS Domain Name Service/System
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
NAT Network Address Translation
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

6 acronyms in this thread; the most compressed thread commented on today has 7 acronyms.

[Thread #148 for this sub, first seen 19th Sep 2023, 08:45] [FAQ] [Full list] [Contact] [Source code]

load more comments (1 replies)
[–] kill_dash_nine@lemm.ee 5 points 1 year ago

I have two internet connections - one is fiber and the other is cable. My cable is the backup connection and is a lower tier offering with a 1.2 TB/month cap while my primary fiber is 1gig symmetrical with no data cap. I use pfsense to handle failover in case of an outage.

[–] notannpc@lemmy.world 5 points 1 year ago

I’ve been considering pulling the trigger on a cellular home network as backup. At least in the US you can get cellular home internet service as an add on to your cell phone bill. It would be significantly slower than my primary service, but seems like it would be a reasonable backup to avoid completely losing internet due to maintenance or general bad stability.

[–] Fizz@lemmy.nz 5 points 1 year ago (8 children)

If the internet or power goes out I read a book.

load more comments (8 replies)

If everything is local it doesn't matter if your ISP goes down, it'll all work fine.

[–] hoodlem@hoodlem.me 3 points 1 year ago (1 children)

I have a 5g home internet backup connection. My primary internet is fiber, so my thinking if there is a cut somewhere it could also affect cable, so I use over the air as my backup.

[–] trafficnab@lemmy.ca 2 points 1 year ago (1 children)

I've had an ISP outage take down the local cell towers too, so keep in mind that they are possibly relying on the same fiber network that you do at home

load more comments (1 replies)
[–] DeltaTangoLima@reddrefuge.com 3 points 1 year ago* (last edited 1 year ago) (2 children)

Cheap and cheerful 4G plugged into my Proxmox server, mapped to a secondary WAN interface for OPNsense.

I ain't gaming over it, but I will be connected.

load more comments (2 replies)
[–] rastilin@kbin.social 3 points 1 year ago

In some places you can get a home internet line that runs through the mobile phone data network, and they tend to be more reliable than cabled connections, they can get even better if they use a modem data plan and not explicitly a home bulk plan. It really hinges on how much data you use and what plans are available where you are. Of course if you do it this way you won't have a private IPV4, but if your ISP allows IPV6, that should be unique and directly accessible no matter what.

As the other poster mentioned there are routers that have a SIM connection as backup, and now they're being offered with a SIM and automatic fail-over as part of some fiber to the home plans.

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

USB tethering between home server and cellphone with cheap data plan. Setup iptables rules/default routes on the server and other devices on my LAN, to route traffic to the Internet through the server and the USB modem/phone. Call ISP and wait 3 months for them to unfuck phone/fiber pole trashed by tractor. Keep paying for service while it is down. Keep calm and carry on, at least I got a backup Internet access.

I don't need to access this server from outside (and it wouldn't work as the mobile Internet plan uses CGNAT), just to have the laptop or phone on the same LAN once in a while to let Nextcloud sync do its thing (essential files, Keepass database...). I suppose I could set up a wireguard tunnel between the home server and my cheap VPS, and access it from there, I just don't have the need for it.

[–] clavismil@lemmy.world 2 points 1 year ago

Wait for it to go up gain 🥲. But now I'm curious how people use 4G as second option maybe I will try juat for fun.

[–] Kangie@lemmy.srcfiles.zip 2 points 1 year ago

I have a multi-WAN configuration on my router, with ipv6 VDSL then ipv4 VDSL then a prepaid 4G modem as the backup link. I rarely fail over but it's been fantastic watching traffic stats when it does.

My only downside is the CGNAT on that connection that prevents things like a backup VPN gateway...

[–] ares35@kbin.social 2 points 1 year ago

i have cable, in the us, it goes out for awhile probably on a weekly basis. calling them is pointless.

if i really need internet--and i did a couple weeks ago when it happened (i don't carry an internet-capable phone), my office is less than five minutes away and has dsl. the phone company has proven itself to be far more reliable than cable, even if they are scummy, greedy bastards just like cable and wireless companies.

[–] joel_feila@lemmy.world 2 points 1 year ago

I have good ole reliable t mobile. Fml

load more comments
view more: next ›