Live data from Hacker News

Raspberry Pi as a local server for self hosting applications

cri.dev

261–270 of 321 posts

Re: Raspberry Pi as a local server for self hosting applications

#261

Earlier quoted context omitted.

No, and they have no excuse. The cable ISP recently switched to a DOCSIS 3.1 network in certain areas, and almost all customers have a modem/gateway that has IPv6 support perfected (IPv6 is quite an old thing, would be weird for it not to work properly now - on the CPE side), but nope, they don't want to. They don't like their users being able to host content, given the fact they make it extremely difficult to pay fo…

That is odd. I'm not involved in networking or ISPs, but supposedly a big motivation for IPv6 is to reduce load on CGNAT systems -- they're expensive, and problems with them generate support calls. e.g. https://www.retevia.net/prisoner/

It is absolutely not logical, I know. That's the weirdest thing. I just don't know WHY, but the whole thing is oriented against letting the user host anything AT ALL COST.

Re: Raspberry Pi as a local server for self hosting applications

#262
post #216

Earlier quoted context omitted.

> The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. You'll need don't need any of that with Onion Services. Tor does not only anonymize, but offers easily configurable services with NAT punching, an .oni…

Isn't tor exceptionally slow though? I haven't used it in a few years - has anything changed?

It’s slow, with NSA hunting at exit nodes.

Re: Raspberry Pi as a local server for self hosting applications

#263
post #216

Earlier quoted context omitted.

> The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. You'll need don't need any of that with Onion Services. Tor does not only anonymize, but offers easily configurable services with NAT punching, an .oni…

Isn't tor exceptionally slow though? I haven't used it in a few years - has anything changed?

You can watch videos on it fine these days - though I wouldn't recommend, for social ethical reasons, using it for streaming movies/music off your personal server.

Unless of course, you are running a node.

Re: Raspberry Pi as a local server for self hosting applications

#264
post #216

Earlier quoted context omitted.

> The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. You'll need don't need any of that with Onion Services. Tor does not only anonymize, but offers easily configurable services with NAT punching, an .oni…

Isn't tor exceptionally slow though? I haven't used it in a few years - has anything changed?

Most slowness comes from exit nodes which you don't need to access onion services. There're also single-hop onion services, which should be a bit faster while sacrificing server anonymity if i understand correctly

Re: Raspberry Pi as a local server for self hosting applications

#265
post #262

Earlier quoted context omitted.

Isn't tor exceptionally slow though? I haven't used it in a few years - has anything changed?

It’s slow, with NSA hunting at exit nodes.

Exit nodes aren't used if one connects to an onion service.

And for all we know, the NSA snoops traffic at all major internet exchanges, so tor exit nodes might get extra attention, but so do e.g. people who's search history suggests they might be sysadmins (if i remember reports on xkeyscore selector correctly)

Re: Raspberry Pi as a local server for self hosting applications

#266
post #62

Earlier quoted context omitted.

I use a $15/year vps for this. Acts as a bastion to all the servers I connect to.

Where did you get $15/yr VPS?

GCP also offers a "always free" micro-instance that's more than enough for the task at hand. https://cloud.google.com/free/docs/gcp-free-tier#always-free

Re: Raspberry Pi as a local server for self hosting applications

#267
post #174

Earlier quoted context omitted.

Yep, older laptops make perfect home servers/routers. Built in "KVM switch", built-in UPS, low power/noise, etc. Before I switched to Ubiquiti I ran pfsense on a VM on my old 410s for many years, among other virtual machines for home lab use.

>low power/noise how does that compare to RPI?

It's a regular laptop fan, so it's inaudible unless ffmpeg is converting a movie. Then there's an audible hum, but it's no louder than the fridge's compressor.

Re: Raspberry Pi as a local server for self hosting applications

#268

Earlier quoted context omitted.

> How do people access these servers off of their home network (or do they not?). Wireguard, listening on the public IP with port forwarding, and using a dynamic dns client to ensure I can always connect even if the public IP changes. > It seems like most residential ISPs don't provide a static IP and some block port 80? Not the case here in my experience (Spain), but if you're fine being the only one with access you…

Can the ZeroTier client create a tunnel without root access? That's the biggest weakness of WireGuard IMO. One of the things I like about ngrok is it doesn't require root.

> Can the ZeroTier client create a tunnel without root access? That's the biggest weakness of WireGuard IMO.

No idea about ZeroTier, but you should be able to use WireGuard without root access using the userspace implementation in Go[0] (that's the one used in non-rooted Android phones, Windows, and maybe the BSDs)

[0]: https://git.zx2c4.com/wireguard-go/about/

Re: Raspberry Pi as a local server for self hosting applications

#269

The hardware is there (RPi + USB storage). The server software is there (NextCloud, Plex, n8n, etc). What isn't there is the plumbing. The next logical step after this blog post is making your services accessible to your phone over the public net. You'll immediately find yourself mired in domain name registration, VPS management, TLS cert management, dyndns, port forwarding, hole punching, etc etc. There are lots of…

With a couple of fiber providers I've been lucky enough (it wasn't luck, I chose housing based on ISP availability) to get a business class gigabit with a static ipv4 address and ipv6 for ~$100/mo, solves lots of problems. Plex does the plumbing for you, I think NextCloud might too. Doing DNS just seems like another thing to setup which is just fine. Pay namecheap, then pay a big boy DNS provider (I like dnsmadeeasy)…

This is exactly why containers took off for self-hosters. Installing Plex went from a blog post to `docker run plex` (ok there is a little more nuance than that but you get my point).

Docker allowed me to be far more competent on a Linux box than my skill set should have permitted at the time. I no longer needed to know how an application ran, just that it did. Provide some persistent storage and you’ll probably never have to configure that app again. Amazing.

Re: Raspberry Pi as a local server for self hosting applications

#270
post #62

Earlier quoted context omitted.

I use a $15/year vps for this. Acts as a bastion to all the servers I connect to.

Could you say where you got that? I haven't seen many servers in the "dirt cheap and really tiny" space.

Digitalocean, Linode, hetzner, etc, etc.
Post reply on HN