News for hackers. Stuff that matters.
Re:Raspberry Pi Homelab with Kubernetes by anderspitman on Wednesday November 11, 2020 @02:20PM (#25061822)
As has become my habit lately, I'll chime in and say if you're interested in accessing your self-hosted services from the internet, IMO tunneling is the way to go: https://github.com/anderspitman/awesome-tunneling
Re:Raspberry Pi Homelab with Kubernetes by wil421 on Wednesday November 11, 2020 @03:24PM (#25062574)
Most of my services are only available by using a vpn into my home network. I can understand why you might need a public facing service but I avoid it like the plague.
Re:Raspberry Pi Homelab with Kubernetes by throwaway894345 on Wednesday November 11, 2020 @08:39PM (#25065418)
I have an EC2 instance running caddy that proxies through to my RPI cluster via VPN. It was pretty easy to set up. And Caddy handles HTTPS and HTTP->HTTPS redirection out of the box.
Re:Raspberry Pi Homelab with Kubernetes by wil421 on Monday November 16, 2020 @08:34AM (#25111406)
Thank you. Caddy sounds like something I was looking for recently.
Re:Raspberry Pi Homelab with Kubernetes by anderspitman on Wednesday November 11, 2020 @03:31PM (#25062636)
I see it as an important step to a more decentralized future. For example, I know a few people who maintain Plex servers for their friends and family. This works quite well, but getting the server on the internet is the trickiest part. You can sink a lot of time into configuring routers, managing certs, NAT, DMZ, LMNOP. Or you can use a tunneling service that manages all of it for you.
Re:Raspberry Pi Homelab with Kubernetes by jlgaddis on Wednesday November 11, 2020 @08:07PM (#25065101)
The way to a more decentralized future is through yet another third-party service?
Re:Raspberry Pi Homelab with Kubernetes by anderspitman on Thursday November 12, 2020 @12:30AM (#25066782)
Huh? Are you referring to the VPS provider?
Re:Raspberry Pi Homelab with Kubernetes by Just1689 on Wednesday November 11, 2020 @02:36PM (#25062011)
I use chisel for dancing across firewalls and across Big Corp's (TM) network policies. Chisel is fantastic. It wraps an SSH tunnel for proxying TCP (or reverse proxying) in HTTP, which I expose over TLS.

https://github.com/jpillora/chisel

Re:Raspberry Pi Homelab with Kubernetes by alexellisuk on Wednesday November 11, 2020 @03:06PM (#25062374)
I'm the author of inlets and would suggest you take a look at that. It's great for the use-case in question and built as a cloud native application with Docker images, Kubernetes YAML files and an operator available.

So you can get a LoadBalancer etc.

https://blog.alexellis.io/ingress-for-your-local-kubernetes-...

Re:Raspberry Pi Homelab with Kubernetes by anderspitman on Wednesday November 11, 2020 @03:10PM (#25062422)
If chisel is working for them why do you think they should switch? Does inlets have any advantages in non-kubernetes environments?
Re:Raspberry Pi Homelab with Kubernetes by erulabs on Wednesday November 11, 2020 @10:29PM (#25066085)
If you’re using Kube, I’m building a service to solve this for home hosting. Checkout https://KubeSail.com (YC S19) - we forward traffic to your ingress controller over a tunnel so that you can host public apps on the internet from home without dynamic DNS or port forwarding . Feedback welcome :)
Re:Raspberry Pi Homelab with Kubernetes by hannofcart on Wednesday November 11, 2020 @04:47PM (#25063423)
Quite a coincidence running into you on HN. I recently did need to setup tunneling to access my home cluster and stumbled on your list. I found frp and was up and running in a jiffy. Thanks for the list!
Re:Raspberry Pi Homelab with Kubernetes by sovreign on Thursday November 12, 2020 @01:01AM (#25066952)
For my personal homelab Nginx Proxy Manager has been great (https://nginxproxymanager.com/). It provides a dead simple ui for configuring Nginx to expose internal services, even websocket servers, and integrates easy https cert managmenet (with Let's Encrypt wildcard subdomain support!).
Re:Raspberry Pi Homelab with Kubernetes by anderspitman on Thursday November 12, 2020 @01:38PM (#25073129)
NPM looks solid, but it still requires you to set up port forwarding and hope your ISP doesn't block ports 80/443, right?
Re:Raspberry Pi Homelab with Kubernetes by monatron on Wednesday November 11, 2020 @02:38PM (#25062032)
i've been using tailscale for this and am very happy with it
Re:Raspberry Pi Homelab with Kubernetes by anderspitman on Wednesday November 11, 2020 @03:11PM (#25062435)
Tailscale seems to be a great option if you only need to access your services from your own devices. Public or shared access looks to be trickier/expensive.