diff options
| author | Claude <noreply@anthropic.com> | 2026-09-02 21:45:25 -0500 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-09-02 21:45:25 -0500 |
| commit | 48d4c516c81dc3c1394ebea5ecd5aa588bc6960a (patch) | |
| tree | 94dd1c5bb2aad021f6e979f0cceadcaca1b4d939 /internal/lock/lock.go | |
| parent | a7b8edcf866269a8bc389abd411e6f7e0cfe0252 (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/lock/lock.go')
0 files changed, 0 insertions, 0 deletions
