skills/nmime/infra-skills/network-security

network-security

SKILL.md

Network Security

Headscale v0.27.1 VPN and firewall for secure admin access. (Updated: January 2026). All scripts are idempotent - check state before applying changes.

Responsibility

This Skill Other Skills
Headscale VPN setup Servers → hetzner-infra
VPN user management DNS → hetzner-infra
Firewall rules TLS → k8s-cluster-management
Bastion hardening LB → hetzner-infra

Architecture

INTERNET
    ├─ PUBLIC (via LB) ───▶ app, api, s3, registry
    └─ ADMIN (via VPN) ──▶ gitlab, argocd, grafana, vault, k8s
                └──▶ Bastion + Headscale

Setup

Run on bastion server. See reference files for detailed commands:

VPN Client Access

Connect from any server or sandboxed environment:

curl -fsSL https://tailscale.com/install.sh | sh
tailscale up --login-server https://vpn.example.com --authkey <KEY>

Reference Files

Weekly Installs
5
First Seen
Jan 24, 2026
Installed on
claude-code4
trae3
antigravity3
windsurf3
codex3
gemini-cli3