Cloudflare for Everything

I have written before about how I have used Tailscale, a magical tool to set up Wireguard tunnels to create an overlay network called Tailnets. I have also written about how I host all of my services to be publically accessible using Cloudflare Tunnels (fka Argo Tunnels). But I recently discovered that the ~20MiB binary of cloudflared can do a lot more than just run tunnels. Here is how I used most of the newly discovered features. ...

January 1, 2022 · 4 min · Adyanth Hosavalike

Homelab - Software - Part 6/6 - Tailscale

If you have read through the previous articles, I have a setup where applications are securely accessible to me from anywhere. That is all well and good until something breaks, and I have to fix it. No big deal when I am home, but how would I do that if what I am trying to fix is the one that helps me access it remotely? Enter Tailscale , a point-to-point mesh VPN topology private LAN overlay over the internet. Tailscale is a game-changer when it comes to VPN technologies. It accomplishes this using WireGuard , another up-and-coming technology for secure, simple tunneling. ...

June 19, 2021 · 2 min · Adyanth Hosavalike

Homelab - Software - Part 5/n - Cloudflare

In the last part of this series, we saw what I had set up for self-hosted applications. Now let me show how I got all these on the internet. For this, the last section is a good background. Let us look at some of the hurdles I had. I have two ISPs, and neither of them provides a static IP. Moreover, one of the ISPs does not even assign a public IP, placing me behind a CGNAT . Managing dynamic DNS records can be a pain. Load balancing them can be a tedious process as well. Forwarding ports can turn out to be a security issue depending on how effectively I implement firewall solutions behind it. All of these added up result in a problem for my network. Another thing to note that I had already moved my domain registrar to Cloudflare owing to its better management UI and fast DNS resolvers. I was impressed by how quickly the DNS changes propagated, making testing things out a smooth experience. ...

June 16, 2021 · 5 min · Adyanth Hosavalike

Homelab - Software - Part 4/n - Network

Before moving to the next part, I thought it was relevant to have a background on what network architecture was backing all of this. I was never the person to take what an ISP would sell as a useless excuse of a modem/router, but I was still using a stock TP-Link router with reasonably good wireless and gigabit networking support. What I now have are two ISPs, both providing FTTH (fiber to the home). The first one provides 300Mbps symmetrical, and the second one reaches 200Mbps. Each has its ONT (Optical network terminal) and provides a gigabit port or two bundled with unusable WiFi. There is nothing I can do about this, but it is good enough for the job. ...

June 16, 2021 · 4 min · Adyanth Hosavalike

Homelab - Software - Part 3/n - Docker

We have reached the more fascinating parts now, where I spent (still spending) the most time and the one that adds the most value to me. All of these applications are running on docker, set up by docker-compose. There are some obvious choices here that may not be obvious to many of you reading this, such as using Træfik instead of the more predominantly used NPM (Nginx Proxy Manager) . There are two parts to this. One, I am familiar with those more so than the alternatives, two, I might have had the same running before I migrated some of these from my PC. ...

June 11, 2021 · 7 min · Adyanth Hosavalike