A practical knowledge base

UFW

Allow ports only on specific interface

sudo ufw allow in on tailscale0 to any port 22 proto tcp