Hacker News new | ask | show | jobs
by DictumMortuum 2196 days ago
Nice!

I have a raspberry 2b+ with several services: ldap, syncthing, gitea, cups server, minidlna, torrent server, NFS, nginx for PHP stuff like phpldapadmin, phpmyadmin, nextcloud, etc.

I realized that I don't need a public IP. I set up zerotier on all my machines and pointed a subdomain that I own to that IP. OK, other people can't visit it, but I rarely need them to.

It's perfect, but nextcloud is slow :( Maybe an upgrade to rpi 4 will help it be faster.

1 comments

If you wanted it to be publicly accessible in the future, I think you can rent a cheap VPS (DO Droplet) and set up a VPN, and then connect to that VPN on your Pi. Then you can have Nginx on the VPS and reverse proxy to any services you'd like.
I've been monitoring what VPSs are an option. I'd like to have something faster, because it'll be cost-effective, but I don't want another headache.
If they're going to spin up a VPS then they might as well decommission the Raspberry Pi, before it decommissions itself. :-)
Well, most of the services do not even have a noticeable lag, but nextcloud is taxing!
They could also try dynamic DNS. I've had success with using ddclient with a personal (sub)domain with NameCheap.