aboutsummaryrefslogtreecommitdiffstats
path: root/base/kernel.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-17 01:01:06 +0000
committertv <tv@krebsco.de>2026-11-17 01:01:06 +0000
commitff3dafcc0003ffc2d48244fcd6e98984b6a9174d (patch)
tree155a9ca9fed6d2ab3000665f724d98e8a0890937 /base/kernel.nix
parent9d7f66b9cbdc203226ef919a4108706248d9779d (diff)
per-user egress rules
The host module takes users = { NAME = TAPS; ... } instead of a single user: each user gets that many taps, and rules of their own, in /var/lib/fc-egress/USER/allowed, managed with fc-egress as before. The proxy tells whose a guest is by its address: each tap has a fixed one, handed out by dnsmasq by MAC address (derived from the tap's number, as the run script does), and the bridge drops anything a guest sends from another address. The decrypting server gets a socket per user, as it can't see the guest's address. The run script only takes the user's own taps.
Diffstat (limited to 'base/kernel.nix')
0 files changed, 0 insertions, 0 deletions