Live data from Hacker News

Raspberry Pi as a local server for self hosting applications

cri.dev

301–310 of 321 posts

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

#301
post #216

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…

> 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…

If this idea sounds great but the Tor part is a bit much for you, have a look at tailscale.com

It sets up WireGuard (also feat. NAT hole punching) in a mesh between your devices. You can static route things to it using standard firewalling/iptables/etc if you feel the need too.

It's basically having a LAN but you're on the LAN even when you're not at home.

Edit: Hahaha. I discovered Tailscale myself through this thread, left the tab open..

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

#302

Earlier quoted context omitted.

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 neve…

But if you have a package manager, 'yum install plex', 'apt install plex', etc. should all have the same experience. (actually the correct incantation of docker to get plex running correctly has taken hours of my life away). There are indeed many blog posts about getting plex to run in docker. The problem is package managers are bad (well, apt is bad, rpm is pretty ok, freebsd ports are pretty good, there are many ot…

[deleted]

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

#303
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.

I use ramnode.com. It’s one of the openvz servers they have

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

#305
post #193

Note that if you got all excited about n8n when learning about it from this webpage, as a potential open source Zapier: n8n is not open source, despite being source available. The author goes to pretty great lengths to avoid confronting this fact. https://github.com/n8n-io/n8n/issues/40

Wow. I'm instantly sympathetic with the author given the level of vicious fanaticism he was confronting there.

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

#306

How do people access these servers off of their home network (or do they not?). That seems like most of the value to me, hosting some service you can access from anywhere without having to use Digital Ocean. It seems like most residential ISPs don't provide a static IP and some block port 80? I think forcing ISPs to allow home users to serve traffic via some standard method would go a long way to enabling a more dece…

I've been using DuckDNS [1]. If your IP address changes it could take up to 5 minutes to update, but in practice I haven't had any problems with it. [1]: http://www.duckdns.org/

Why does the duck not have a beak in Firefox?

Why can I not sign up with email?

Why is there no way to contact the creators to ask these questions?

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

#307

Earlier quoted context omitted.

I tunnel everything through webRTC. It's a bit exotic but it gets you a direct bidirectional data connection to the self hosted device. You can put all users' self hosted content through a single domain name & SSL cert or you could have subdomains automatically provisioned for each device. I'm using this WebRTC method for 3D printers at https://tegapp.io

Can you provide more details on what software you're using for WebRTC tunneling?

Sure, right now I'm using a nodejs WebRTC datachannels implementation but there's an up and coming rust implementation which I'm quite excited to try:

- NodeJS DataChannels: https://github.com/node-webrtc/node-webrtc

- Rust DataChannels: https://github.com/lerouxrgd/datachannel-rs

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

#308

Earlier quoted context omitted.

I look forward to the day everyone can have IPV6. For now many of us still have to deal with NAT sadly - especially if we're open sourcing our software for users to deploy on any network.

Everyone can have IPv6 today by using a tunnelbroker. I used the free tunnel from https://www.he.net/ in the past, when I didn't have native v6. Today I don't need it anymore.

Wow, am I getting this right? It handles NAT traversal for you behind the IPV6 address for free??

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

#309
post #193

Note that if you got all excited about n8n when learning about it from this webpage, as a potential open source Zapier: n8n is not open source, despite being source available. The author goes to pretty great lengths to avoid confronting this fact. https://github.com/n8n-io/n8n/issues/40

Wow. I'm instantly sympathetic with the author given the level of vicious fanaticism he was confronting there.

Drew being mean doesn’t change the fact that the author was (and to some extent still is) being shady.

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

#310

Earlier quoted context omitted.

Everyone can have IPv6 today by using a tunnelbroker. I used the free tunnel from https://www.he.net/ in the past, when I didn't have native v6. Today I don't need it anymore.

Wow, am I getting this right? It handles NAT traversal for you behind the IPV6 address for free??

What do you mean by that exactly? Initially it's just an outgoing tunnel to one of their many exits, to reach any site which is reachable via v6. How you integrate that into your setup is up to you. Since they are (one of?) the pioneers you have many scripts available on many platforms which support that.

When you mean incoming tunnel, it's no different from the many dynamic DNS solutions, where it's again up to you to integrate that. But even for this they have something:

https://dns.he.net/

Post reply on HN