summaryrefslogtreecommitdiff
path: root/internal/deploy/deploy.go
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-09-02 21:45:25 -0500
committerClaude <noreply@anthropic.com>2026-09-02 21:45:25 -0500
commit48d4c516c81dc3c1394ebea5ecd5aa588bc6960a (patch)
tree94dd1c5bb2aad021f6e979f0cceadcaca1b4d939 /internal/deploy/deploy.go
parenta7b8edcf866269a8bc389abd411e6f7e0cfe0252 (diff)
Flesh out the single-public-IP pf setup with what actually worked
Replaces the sketch (bare ifconfig alias, isolated nat line) with what we verified end-to-end on a real VM: the alias persisted via rc.conf, a full pf.conf modeled on a plain host's firewall, and the pfctl/kldload steps needed to load and check it safely. Also documents a real bug hit along the way: `nat ... -> ($ext_if)` is ambiguous once the interface carries more than one address (the public IP and the private jail range both live on it) - pf can silently NAT through the wrong one. The public IP needs to be written explicitly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'internal/deploy/deploy.go')
0 files changed, 0 insertions, 0 deletions