Skip to content

wrapEgress

wrapEgress(bwrapArgv, tmpDir, runnerPath?): string[]

Defined in: src/egress.ts:650

Wrap an already-built bwrap argv in the egress-runner invocation: <runner> --tmp <tmpDir> -- <bwrapArgv...> The runner loads /egress.nft + /dnsmasq.argv and execs the bwrap argv inside the firewalled netns. runnerPath is injectable for tests.

string[]

string

string = ...

string[]