Tutorials

Tutorial

How to Set Up a Linux VPS Firewall with UFW and nftables

Configure a default-deny firewall on your Linux VPS using either UFW or nftables. Two paths, one goal: only the ports you choose stay open.

14 min readRead
Tutorial

Secure Your AI Agent Server: Sandboxing, Firewalls, and Monitoring

AI agents execute arbitrary actions, consume unpredictable resources, and process untrusted input by design. This guide maps each threat to a concrete Linux control.

12 min readRead
Tutorial

FRRouting BGP Configuration on a Linux VPS

Step-by-step FRRouting BGP setup for announcing your own IPv4 and IPv6 prefixes from a Linux VPS. Covers installation, vtysh configuration, prefix-lists, route-maps, GTSM, and nftables firewall rules.

13 min readRead
Tutorial

Deploy OpenClaw Securely on a VPS

Install and lock down OpenClaw on a VPS with gateway authentication, TLS reverse proxy, Docker sandboxing, firewall hardening, and systemd isolation. Step-by-step with security hardening included.

14 min readRead
Tutorial

BIRD2 BGP Configuration on a Linux VPS

Install BIRD2 on Debian 12 or Ubuntu 24.04 and configure a BGP session to announce your own IP prefixes. Dual-stack, export filters, persistent dummy interfaces, nftables rules, and birdc verification.

14 min readRead
Tutorial

Fix Docker Bypassing UFW: 4 Tested Solutions for Your VPS

Docker manipulates iptables directly and ignores UFW rules. Your container ports are exposed to the internet even with ufw deny active. Here are four solutions with tradeoffs, each verified by scanning from an external host.

11 min readRead
Tutorial

Install Nginx on Debian 12 and Ubuntu 24.04 from the Official Repository

Install Nginx from the official nginx.org repository on Debian 12 or Ubuntu 24.04. Covers signing key setup, apt pinning, firewall rules for both UFW and nftables, systemd management, and verification after every step.

7 min readRead