Hide your homelab IP with a VPS, WireGuard and iptables

Hide your homelab IP with a VPS, WireGuard and iptables

One (potential) downside to running public services on your homelab, is that you expose your IP address. That may, or may not, be a problem — but here are ways around it. The simplest way is to put Cloudflare in front, but this will only handle web traffic, and is a bit of a black box.

Another, more hands-on, approach is to use a VPS (or LXC container); WireGuard and iptables. We will create a secure tunnel between the VPS/container and the homelab HAProxy instance, and forward traffic using iptables.

Read more →

Setting up a local Unbound ad-blocking DNS resolver

Setting up a local Unbound ad-blocking DNS resolver

I’ve been using dnsmasq as a local DNS resolver for a while, time to switch to Unbound instead.

Read more →

Shorten URLs With HAProxy

Shorten URLs With HAProxy
I made a simply script that adds entries to a map file that HAProxy reads. And voila — a URL shortener
Read more →

High Availability HAProxy

High Availability HAProxy

A lot of my homelab traffic goes through the HAProxy reverse proxy — making it a single point of failure. This can be fixed by having two HAProxy servers and a floating IP.

Read more →

Mirrors moved from the homelab to Terrahost

Mirrors moved from the homelab to Terrahost
I’ve hosted repository mirrors from my homelab rack for a while, but now they are in a Terrahost datacenter instead.
Read more →