Skip to content
Dorian FINKEL
Tech notes

Tutorials and lessons learned.

Step-by-step tutorials checked against the official documentation, and lessons learned from the projects: the problem, the mechanism, the configuration, and how to verify it.

Lessons learned2026Dual-carrier BGP: who decides the path?With two links to two carriers, outbound and inbound traffic are not steered with the same lever. Local-preference on one side, AS-path prepending or communities on the other, filters so you never become a transit, and BFD so failover doesn’t wait three minutes.BGPBFDWAN7 min read· BGP multi-homing labLessons learned2025IDS before IPS: watch before you blockA firewall filters ports and addresses, not content. The IDS / IPS engine of the UniFi gateway fills part of that gap, provided you know its limits, let it watch first, sort out false positives, and only then block.UniFiIDS / IPSSecurity3 min read· IDS / IPS intrusion detectionLessons learned2025Segmenting a network by function, allow-list styleServers, IoT devices and guests on one network: a single compromised device sees everything. The answer fits in three ideas: one VLAN per function, deny everything between them, open only what is justified. Plus a few traps: return traffic, VLAN 1, device discovery.VLAN802.1QZero Trust3 min read· VLAN segmentation & zero-trust policyLessons learned2025Ansible on Cisco: review before you applyConfiguring switches by hand creates drift and erases history. An inventory by role, Jinja2 templates, a systematic check/diff pass, small rollout batches, and every configuration ends up versioned in Git.AnsibleCisco IOSGit3 min read· Automated Cisco configuration with AnsibleLessons learned2025Publishing sites behind Cloudflare and Nginx Proxy ManagerA domain name, a proxy in front, a reverse proxy at home: every site answers over valid HTTPS without showing the home address in DNS. And the limit of this setup, which later led to the tunnel.CloudflareNginx Proxy ManagerLet’s Encrypt3 min read· Filtering DNS & reverse proxy behind CloudflareLessons learned2025Keeping filtered DNS on 4G with AdGuard on a VPSAt home, AdGuard filters the whole network. Outside, the phone falls back to the carrier’s DNS. A second AdGuard on a VPS solves two problems at once, redundancy and mobility, as long as it doesn’t become a resolver open to the whole Internet.AdGuard HomeEncrypted DNSOracle Cloud4 min read· Oracle Cloud VPS: secondary DNS & filtering on the goLessons learned2026The 10-second channel switch: DNS was to blameChanging TV channels took 5 to 10 seconds. Neither Wi-Fi nor multicast had anything to do with it: the DNS resolver was silently dropping queries, because its rate limit was shared by the whole network.DNSAdGuard HomeTroubleshooting3 min read· Oracle Cloud VPS: secondary DNS & filtering on the goLessons learned2026When Android picks its encrypted DNS by itselfAn Android device sent all its DNS to the backup resolver instead of the primary. The cause: “automatic Private DNS”, which adopts any resolver able to answer over DNS-over-TLS, without even checking its certificate.DNSDoTAndroid3 min read· Oracle Cloud VPS: secondary DNS & filtering on the goLessons learned2026Why the gateway doesn’t see my DNS queriesThe gateway’s traffic view suggested the backup resolver handled all DNS. In reality the primary sat in the same VLAN as the clients: its traffic never went through the router.VLANDNSMonitoring2 min read· VLAN segmentation & zero-trust policyLessons learned2026Closing port 443: from port forwarding to Cloudflare TunnelPublishing services with nothing open on the router: a connector opens an outbound connection to Cloudflare itself. What really changes, the migration traps, and how to check that nothing gets in any more.CloudflareZero TrustSecurity4 min read· Zero Trust: Cloudflare Tunnel & AccessLessons learned2026A strict CSP that doesn’t break the site: the hash computed at build timeA content security policy that forbids every inline script except one: the theme script, allowed by its SHA-256 hash. Recomputed at every build, it never breaks the site when the script changes.Web securityCSPCloudflare Workers3 min read· This portfolio: Cloudflare Workers, CI and securityLessons learned2026DMARC without breaking your mail: watch, then tightenSPF, DKIM and DMARC stop people spoofing a domain, but a policy that is too strict too early also makes legitimate mail disappear. The method: publish in monitoring mode, read the reports, then tighten step by step.EmailDNSDMARC4 min read· Domain email: SPF, DKIM, DMARC and DNSSECLessons learned2026Proxmox high availability: migrating is not failing overA live migration takes a few seconds, with no outage. A failover after a crash takes about two minutes, with the VMs restarted. Understanding the difference means understanding quorum, self-fencing and storage.ProxmoxHigh availabilityCorosync3 min read· Proxmox high-availability clusterLessons learned2026High-density Wi-Fi: more access points, less powerIn a packed venue, Wi-Fi doesn’t lack power but airtime. The method: a quantified coverage target, narrow channels, lowered power, 6 GHz for recent clients, and an on-site survey to validate.Wi-Fi 6ERFRoaming2 min read· High-density Wi-Fi 6E coverage studyLessons learned2026A backup that has never been restored doesn’t existThe 3-2-1 rule says how many copies to keep and where. Its modern version, 3-2-1-1-0, adds a copy an attacker cannot erase, and zero errors verified by restoring. The restore test is the only proof that counts.BackupVeeamRansomware2 min read· Complete enterprise infrastructureTutorialIntermediateSet up a WireGuard server and connect a deviceA modern VPN tunnel in a few lines: generate the keys, write the server and device configuration, let the local network answer the tunnel, open a single UDP port, and check that traffic flows.WireGuardVPNLinux30 min· WireGuard site-to-site & remote access VPNTutorialIntermediateLinking two sites with a WireGuard tunnelTwo local networks that see each other as if they were neighbours: one WireGuard peer on each side, the remote networks in AllowedIPs, routes on the gateways, and close attention to MTU.WireGuardVPNRouting30 min· WireGuard site-to-site & remote access VPNTutorialAdvancedBuild a two-node Proxmox cluster with a QDeviceTwo Proxmox servers managed as one, and a lightweight third vote so that losing a node doesn’t freeze the whole cluster.ProxmoxCorosyncHigh availability45 min· Proxmox high-availability clusterTutorialIntermediateMake a Proxmox bridge “VLAN-aware”A single bridge for every VLAN: each VM gets its own with a simple number, and the host keeps its management address on the admin VLAN.ProxmoxVLAN802.1Q15 min· VLAN segmentation & zero-trust policyTutorialBeginnerMake a local network reachable with a Tailscale subnet routerInstall Tailscale on a single machine on the network and have it advertise that network: all your Tailscale devices can reach it, with nothing installed on the local equipment.TailscaleVPNRouting15 min· Proxmox high-availability clusterTutorialBeginnerInstall AdGuard Home with DockerA filtering DNS resolver for the whole network: ads and malicious domains blocked, local names for your services, and encrypted DNS upstream.AdGuard HomeDNSDocker20 min· Filtering DNS & reverse proxy behind CloudflareTutorialBeginnerDeploy Nginx Proxy Manager with Docker ComposeA reverse proxy with a web interface: one host per domain name, Let’s Encrypt certificates in two clicks, access lists, and no more services reached by IP and port.Nginx Proxy ManagerReverse proxyDocker20 min· Filtering DNS & reverse proxy behind CloudflareTutorialIntermediateA Let’s Encrypt wildcard certificate with certbot and CloudflareA single certificate for every subdomain, obtained through the DNS-01 challenge via the Cloudflare API, without opening a single port, and renewed automatically.Let’s EncryptCertbotCloudflare15 min· Filtering DNS & reverse proxy behind CloudflareTutorialBeginnerPublish a service with Cloudflare Tunnel and DockerA cloudflared container, a token, a hostname declared in the dashboard: the service is online over HTTPS with no port open on the router. And Cloudflare Access in front of what must stay private.CloudflareZero TrustDocker20 min· Zero Trust: Cloudflare Tunnel & AccessTutorialBeginnerEnable DNSSEC on a domain managed at CloudflareSign your DNS zone so no answer can be forged: one button at Cloudflare, a DS record at the registrar, and three commands to check the chain of trust.DNSSECDNSCloudflare15 min· Domain email: SPF, DKIM, DMARC and DNSSECTutorialBeginnerProtect an exposed service with Fail2BanRead the logs, spot repeated failures, ban the offending address for a while: Fail2Ban slows down brute-force attacks without changing the service itself.Fail2BanSecurityLinux15 min· IDS / IPS intrusion detectionTutorialBeginnerHarden a server’s SSH accessKeys instead of passwords, no root login, a list of allowed users: a few settings that shut the door on dictionary attacks. And the read-order trap that silently cancels them.SSHSecurityLinux15 minTutorialIntermediateA minimal nftables firewall for a serverDeny everything inbound, then accept only what is needed: established connections, loopback, essential ICMPv6 and a few ports. About twenty readable lines, and two traps to know about.nftablesFirewallLinux20 minTutorialIntermediateMonitor a Linux server with Prometheus and node_exporternode_exporter exposes system metrics, Prometheus scrapes and keeps their history, PromQL queries them, and a first alerting rule warns you when a target stops answering.PrometheusMonitoringLinux30 min· Network monitoring with Prometheus & GrafanaTutorialIntermediateMonitor switches and routers with snmp_exporterNetwork equipment can’t run an agent, but it speaks SNMP. snmp_exporter turns its counters into Prometheus metrics: throughput, errors and state of every port, over encrypted SNMPv3.PrometheusSNMPMonitoring30 min· Network monitoring with Prometheus & GrafanaTutorialBeginnerMonitor your services with Uptime KumaKnow a service is down before someone tells you: HTTP, ping, DNS or TCP probes, notifications, and a public status page if you want one.Uptime KumaMonitoringDocker10 min· Network monitoring with Prometheus & GrafanaTutorialIntermediateBack up Cisco configurations with AnsibleAn inventory, a playbook, a scheduled job: each configuration is backed up to a file, versioned in Git, and changes that were never saved are spotted.AnsibleCisco IOSBackup30 min· Automated Cisco configuration with AnsibleTutorialIntermediateConfigure HSRP on Cisco IOSTwo routers, one virtual gateway: hosts only see one address, and if the active router or its uplink fails, the other takes it over within seconds.Cisco IOSHSRPRedundancy20 min· Multi-site Cisco WAN architectureTutorialIntermediateMulti-area OSPF on Cisco IOS: the essentialsA backbone area, areas around it, passive interfaces where there is no neighbour, an up-to-date reference bandwidth: the basis of readable, robust OSPF routing.Cisco IOSOSPFRouting30 min· Multi-site Cisco WAN architectureTutorialIntermediateFiltering between VLANs with Cisco extended ACLsA named extended ACL, read top to bottom, placed as close to the source as possible: guests reach the internal DNS and the Internet, and nothing else on the private network.Cisco IOSACLSecurity20 min· Multi-site Cisco WAN architectureTutorialBeginnerTroubleshoot the network with tcpdumpWhen “it doesn’t work”, look at what really goes over the wire. tcpdump captures, filters, and sets things up for Wireshark, including live from a remote server.tcpdumpTroubleshootingWireshark20 min