Soluții

Why your Homelab needs a domain

When I first got started with my homelab, everything was run on IPs and ports. If I wanted to access Nginx Proxy Manager, I’d have to navigate to 192.168.0.6:7818. For Scrypted, it was 192.168.0.152:10443 (different machines on different IPs).

You can see how running 10, 20, 30, or more services on a network could get really confusing, as ports could be the same on different IPs for different services. Overall, it was just a jumble of IPs and ports I was trying to memorize. It didn’t work well.

Going with a domain for my homelab allowed me to start to set up DNS resolution for local IPs. While I typically use my public IP, you could also use your local IP for the domain resolution, which allows it to only resolve on your LAN.

The Nginx Proxy Manager proxy hosts screen showing domains in use by the reverse proxy.

Now, instead of trying to navigate to 172.16.0.151:7818 for NPM, I just go to npm.mydomain.com. It’s much easier to remember, and if my LAN IP or port ever change for some reason, I don’t have to update my brain to remember the new info. I just update the DNS record, and now I’m heading to the same service with the same address, even though internally it’s located somewhere new.

If you’re constantly forgetting what IP your services are hosted on, then adding a domain to your homelab will make life simple again. At least, simple in the regards of accessing your services.

Self-Hosting Is easier with a Domain

Something that I got into not too long after starting my homelab journey was self-hosting websites. From my own personal website to self-hosted services (like Calibre for eBooks and AudioBookshelf for audiobooks), I wanted an easy way to access those services outside my home.

I could have used port forwarding and forward specific ports to the services and accessed them that way. However, that doesn’t necessarily work well with SSL certificates, and if your public IP changes, then you’ll have to start using a new IP to access everything. With Nginx Proxy Manager (or any other proxy management app), you can properly set up SSL certificates for true HTTPS browsing, whether local or remote.

With a domain for your homelab, those services can easily be accessed outside your local network. I use this to access almost everything that I self-host on my server. From server administration pages to services, I use domain names almost exclusively to access my servers at this point.

If your IP address rarely changes, then you’re able to just put that IP into your DNS host and have things resolve to your local network through a program like Nginx Proxy Manager. This is the case for me, but I know that some people have IPs that change frequently, and thankfully that’s not a hard problem to solve.

If your IP changes often, then dynamic DNS is perfect for you. This is another tool in your belt to constantly update the IP address that your DNS server points to without having to manually change anything. Not all DNS servers support dynamic DNS (DDNS), so be sure wherever you buy your homelab domain from (or whatever nameserver you choose to use) supports it. I personally use Cloudflare, which has a few ways to access your home services.

Cloudflare tunnels are one option, but I prefer DDNS with fully qualified domain names (FQDN) as it’s the easiest to set up and let others access your services through. DDNS runs a local service on one of your computers inside your network, constantly checking what your external IP is. If that IP changes, it updates the IP address of your domain through a connection to your DNS provider.

I personally use the CloudflareDDNS Docker container to keep my IPs updated, though you can choose whatever DDNS software you prefer. Unifi has DDNS built-in for several providers, and other routers might also offer a similar service if you’d rather do that than worry about running a Docker container.

Either way you go, DDNS is essential if your IP changes even semi-frequently, as it’ll keep your self-hosted services live on your domain name all the time.

Internal DNS for Secure Services

Not everyone wants to access their services externally, and I get that. While I have most of my services open with DDNS and Nginx Proxy Manager, there are still some services I don’t want accessed outside my network. I’ve already mentioned that you can set your external DNS server to point to an internal IP. However, you can also just set up Nginx Proxy Manager to work in conjunction with a service like Pi-Hole for local DNS resolution.

This works by Pi-Hole acting as your DNS server, and then Nginx Proxy Manager handling where the domain goes. Once fully set up, you can type in myservice.domain.com and Pi-Hole will resolve it locally without ever sending the request outside your network.

With the added security this brings, you’ll be able to use domain names for everything in your services stack, but without having to open anything up externally. It’s the most secure way to use a domain on your local network. The best part is, it can even be free.

Getting a Domain Is Easier Than You Think (And Could Be Free)

There are a number of ways you can get a domain name. I typically buy them from Cloudflare, but there’s Namecheap, GoDaddy, Squarespace, and many others. Most .com domains cost about $10 per year to register these days. Other TLDs like .me, .co, .wiki, .media, or even something fun like .lol or .tech could definitely cost more though.

However, there’s a slight workaround here. If you’re going for local DNS resolution only, you don’t technically have to own a domain. Your system will simply look for the local entry and navigate from there. This can lead to unexpected consequences if you pick something popular.

For example, you could redirect google.com to go to your own self-hosted search engine if you wanted. However, that would mean everyone on the network would go to your search engine and not Google when navigating to that domain. You could also accidentally pick a domain to use for your homelab that someone else eventually claims and uses. In this instance, you could have conflicts because trying to access that new website redirects you to your homelab.

[mai mult...]

What is OTV (Overlay Transport Virtualization) and how it works in Modern Networks

OTV, or Overlay Transport Virtualization, is a network virtualization technology developed by Cisco that enables Layer 2 extension across a Layer 3 IP core—without the typical challenges of traditional tunneling or bridging.

In simple terms: OTV lets you connect multiple data centers as if they were part of the same LAN, even if they’re geographically distant.

OTV is designed to solve several problems when extending Layer 2 networks:

  • Avoids Layer 2 loops and broadcast storms

  • Requires no complex GRE or MPLS tunnels

  • Multicast-agnostic (doesn’t rely on multicast support in the core)

  • Ideal for data center interconnect (DCI), disaster recovery, and VM mobility

 How OTV Works

  • Edge Device: Connects the local LAN to the OTV overlay. Typically a Cisco Nexus 7000 or 9000 switch.

  • Join Interface: The Layer 3 interface used to reach the IP core.

  • Overlay Interface: A virtual interface that bridges Layer 2 domains across sites.

  • OTV encapsulates Layer 2 Ethernet frames inside IP packets (MAC-in-IP) for transport over the Layer 3 infrastructure.

OTV vs. Other Layer 2 Extension Technologies

Technology Overlay Type Scalability Complexity Multicast Dependency
OTV L2 over L3 High Medium No
VPLS L2 over MPLS Medium High Yes
VXLAN L2 over L3 Very High Medium Optional

Use OTV when you need:

  • Seamless connectivity between data centers

  • Zero-touch VM migration (vMotion)

  • Efficient disaster recovery configurations

  • Clean separation between core IP routing and Layer 2 domains.

[mai mult...]

How to Use a Wacom Drawing Tablet With a Chromebook

If you’ve never heard of Wacom tablets before, let me give a brief introduction to some of the best consumer drawing tablets that you’ll ever use.

Wacom has quite a few models of drawing tablets to choose from. Wacom has drawing tablets both with and without built-in displays, depending on what you’re looking for. Also, some tablets require a Bluetooth connection, while others are just over USB-C.  Drawing tablets come in a mess of different prices, but they all seem to have the same specs. How are popular drawing tablets actually different from one another, and which one is right for you?

A drawing tablet is a slate that uses a pressure-sensitive pen, allowing you to draw, sketch, write, or do anything else on your screen. Some Chromebooks have a built-in touchscreen that allows you to do this, and some even come with styluses.

However, if you want the most accurate drawing experience, or if you want to add drawing capabilities to a Chromebook that didn’t come with a touchscreen, then Wacom’s drawing tablet lineup is perfect for you.

The Wacom One 13 Touch Pen Display is a drawing tablet that features a paper-like display and drawing surface, meaning when you draw, it feels like you’re drawing on paper. With two USB-C ports, it can connect to Windows, macOS, some Android devices, and even ChromeOS. It features a 13.3 inch 1080p touchscreen with a 11.6 x 6.5 inch active area. Plus, it offers 4,096 levels of pressure sensitive when used with compatible software.

For this article, I’m going to be using the Wacom One 13.3-inch Drawing Tablet with Display, with a USB-C connection to my Chromebook. I’ll still give some guidance on how to pair over Bluetooth if you opt for one of those drawing tablets instead.

Plug the Wacom Tablet in via USB-C (Or Pair Over Bluetooth)

My Wacom One only supports a USB-C connection, and not Bluetooth. USB-C provides the power, display, and touch inputs for the Chromebook.Your Chromebook does need to support USB-C display output for it to function optimally. If your Chromebook doesn’t have that, then it’ll still work, but only as a tablet and not as a secondary display.

If your Wacom is Bluetooth-enabled, then you can simply open the Bluetooth settings of your Chromebook, click Pair new device, and the tablet should show up there (once in pairing mode).

Truthfully, setting up the Wacom drawing tablet on a Chromebook is as simple as plugging the tablet in over USB-C (or pairing it over Bluetooth). Only a single connection is required for it to function, even though two are available on the Wacom One.

ChromeOS Automatically Identifies the Tablet and Recognizes Pen Input

Once the Wacom One is plugged into my Chromebook, it automatically detected the tablet and began recognizing pen input. I was a bit surprised at how flawless this was, but it really did work that easily.

As my Wacom One has a display, the Chromebook immediately extended my main display and added the Wacom as a second screen. It also put the pen input menu at the bottom of just the Wacom, and not the main screen, which was another surprise.

The pen itself worked right away and in everything I tried. It either functioned as a mouse input for things like Chrome, or as a stylus when I was drawing. There wasn’t a single thing that I tried to do that didn’t work properly. The best part is, I truly had to install no drivers and I had to do no configuration to get it to work. It was just plug-and-play.

Pressure Sensitivity Is Slightly Hit or Miss

Now for the not-so-fun part: not everything works fully when using a Wacom tablet in ChromeOS. Yes, all Wacom tablets will work with ChromeOS natively. However, pressure-sensitive drawing isn’t natively part of the Chromebook’s operating system yet.

There are a few workarounds here, though. You can download some Android apps if your Chromebook supports the Play Store, and those will typically support pressure-sensitive inputs. Sketchbook, Infinite Painter, and others will typically support pressure-sensitive drawing.

If your Chromebook supports Linux, then you can also use apps like Krita or GIMP. Some Linux apps properly work with pressure-sensitive drawing, and others don’t, with the list changing all the time. So your mileage may vary here a bit.

The HP Chromebook x360 14b delivers an Intel i3-N305 8-core procesor, 8GB of LPDDR5 memory, and 128GB of UFS storage to pack a solid punch as a portable computer. Flanked by a 14-inch 1080p touchscreen and a 360-degree hinge, this Chromebook is ready for whatever you want to throw at it. You’ll find two USB 3.1 5Gbps ports alongside one USB-A 3.1 5Gbps port on this Chromebook, plus a 3.5mm combination headphone/microphone jack. With over 10 hours of usage per charge, this Chromebook is ready to go all day with you.

For me, Gimp installed on Linux via apt worked with pen input properly, but it did not work for pressure-sensitive drawing. On the other hand, Sketchbook from the Play Store worked flawlessly out of the box for pressure-sensitive drawing.

Chromebooks can be far more useful than you might think. In fact, they can even be capable gaming machines thanks to the new Steam Beta that’s out for ChromeOS! If you’ve not tried gaming on your Chromebook, you definitely should. While it might not play Call of Duty all that great, older retro titles are perfect on Google’s portable computers.

[mai mult...]