News for hackers. Stuff that matters.
Re:Ask HN: What do you self-host? by tbyehl on Saturday October 12, 2019 @10:13PM (#21237837)
In colo:

  nginx
  Plex
  Radarr / Sonarr / SABnzbd / qBittorrent / ZeroTier -> online.net server
  FreeNAS x2
  Active Directory
At home:

  nginx
  vCenter
  urbackup
  UniFi SDN, Protect
  Portainer / unms / Bitwarden
  Wordpress (isolated)
  Guacamole
  PiHole
  InfluxDB / grafana
  Active Directory
  Windows 10 VM for Java things
  L2TP on my router
Everything I expose to the world goes through CloudFlare and nginx with Authenticated Origin Pulls [0], firewalled to CF's IPs [1], and forced SSL using CF's self-signed certs. I'm invisible to Shodan / port scans.

Have been meaning to move more to colo, especially my Wordpress install and some Wordpress.com-hosted sites, but inertia.

[0] https://support.cloudflare.com/hc/en-us/articles/204899617-A...

[1] https://www.cloudflare.com/ips/

Re:Ask HN: What do you self-host? by NewDimension on Sunday October 13, 2019 @12:27AM (#21238356)
Do you have a static IP at home? How does your cloudflare setup work?
Re:Ask HN: What do you self-host? by bpye on Sunday October 13, 2019 @01:52AM (#21238606)
I've done similar. You firewall your home network to all IP's other than Cloudflare's. You can use a Cloudflare provided certificate for HTTPS - they will MITM and use a trusted cert for outward connections. You can update Cloudflare DNS records via their API - the typical dynamic DNS tools work fine. It works well.

I've always been unable to pull this off completely as I always want a way to SSH into my home network - but maybe there is a better way I can pull off this sort of 'break glass' functionality.

Re:Ask HN: What do you self-host? by tbyehl on Sunday October 13, 2019 @02:33AM (#21238745)
> I always want a way to SSH into my home network

Guacamole (sorta) gives me that. If CloudFlare or nginx or Guacamole have problems then I'm hosed... but I work from home so remote access isn't a huge concern.

And I've got nothing terribly "household critical" at home, just the PiHole needs to be running to keep everyone happy. I do wish that PiHole had an HA solution. I've been tempted to set up a pfSense / pfBlockerNG HA pair but that's a lot of overhead just for DNS.

Re:Ask HN: What do you self-host? by rovr138 on Sunday October 13, 2019 @11:53AM (#21241042)
> I do wish that PiHole had a HA solution

You could run 2 Pi’s or a Pi and a container in another always on machine for example. Then just point your router‘s primary to the Pi and secondary to the other instance.

Re:Ask HN: What do you self-host? by bpye on Sunday October 13, 2019 @02:52AM (#21238828)
That's not a terrible solution. I've just been looking at possibly forwarding SSH over WebSocket - then I can put that behind CloudFlare. Latency would however suffer.
Re:Ask HN: What do you self-host? by jlgaddis on Sunday October 13, 2019 @02:43AM (#21238787)
> ... want a way to SSH into my home network ...

IMO, using a Tor hidden service is a (damn near) perfect solution for this.

Re:Ask HN: What do you self-host? by sterlind on Sunday October 13, 2019 @08:50AM (#21240097)
aren't jitter and latency still major problems with this approach? plus connection resets, though maybe long-lived flows are more reliable than I remember, and I suppose you could do multipath (if Tor doesn't handle that already, not sure.)

have you made it work? my Tor career ended in college after running an exit node - no visits from the FBI, just got auto-klined from every IRC server since I was on the list of proxies.

Re:Ask HN: What do you self-host? by Pmop on Saturday October 12, 2019 @11:10PM (#21238089)
Wait. What? Windows VM for Java?
Re:Ask HN: What do you self-host? by throwaway8941 on Saturday October 12, 2019 @11:53PM (#21238255)
It's most likely client-side stuff. Probably some crappy banking client, or an authentication client for some government websites, or something like that.

I use one for the sites below. It is written in Java/Kotlin, but barely works anywhere except Windows.

https://egov.kz/cms/en

https://cabinet.salyk.kz/

...

Re:Ask HN: What do you self-host? by tbyehl on Sunday October 13, 2019 @02:05AM (#21238650)
Mostly for old shitty IPMI.
Re:Ask HN: What do you self-host? by snagglegaggle on Saturday October 12, 2019 @11:39PM (#21238208)
vCenter but no hosts? Why VMware stuff?
Re:Ask HN: What do you self-host? by tbyehl on Sunday October 13, 2019 @02:05AM (#21238648)
Colo: Three Hyper-V hosts on R620s. Goofball Quanta and Foxconn hardware for FreeNAS bare metal. All 2xE5v2 w/ 160-256GB RAM.

Home: Two VMware hosts on Hyve Zeus (Supermicro, 2xE5 64GB), one on an HP Microserver Gen8 (E3-1240v2 16GB). PiHole bare metal on a recycled Datto Alto w/ SSD (some old AMD APU, boots faster than a Pi and like 4w). Cloud Key G2 Plus for UniFi / Protect.

VMware because it's what I'm used to. Hyper-V because it's not. Used to have some stuff on KVM but :shrug: