cloud-init Examples for Server Automation
Practical cloud-init snippets for Ubuntu VPS automation: packages, users, firewall, WireGuard install hooks, and first-boot hardening that survives rebuilds.
Practical guides on VPN infrastructure, server automation, and self-hosted networking from the TunnelFleet team.
Practical cloud-init snippets for Ubuntu VPS automation: packages, users, firewall, WireGuard install hooks, and first-boot hardening that survives rebuilds.
Treat VPN servers as declarative infrastructure: version configs, automate provisioning, and stop snowflake tunnel nodes before they become an outage.
Install and configure Fail2Ban on Ubuntu to ban abusive SSH (and other) clients: jails, filters, ban times, ignoreip, and how it complements UFW on a VPN VPS.
Harden OpenSSH on Ubuntu with concrete sshd_config settings: key-only auth, disable root login, restrict users, modern ciphers, and a host hardening checklist.
Configure DNS for a VPS the way operators actually do it: A/AAAA records, TTLs, reverse DNS, resolver choice on Ubuntu, and naming patterns that work for VPN endpoints.
Enable and verify IPv6 on an Ubuntu VPS: DigitalOcean networking, sysctl, AAAA records, UFW dual-stack rules, and how IPv6 interacts with WireGuard tunnels.
Configure UFW on Ubuntu the right way: default deny, allow SSH first, open WireGuard UDP, rate limiting, and rules that survive reboots without locking yourself out.
A practical hardening checklist for Ubuntu VPS servers: SSH keys, firewall, updates, users, Fail2Ban, and baseline controls before you run production services.
Install and configure WireGuard on Ubuntu 24.04 LTS: packages, keys, wg0 config, IP forwarding, firewall rules, and a working client peer.