bastille
bastille copied to clipboard
[ENHANCEMENT]availability of ip4/6 = inherit mode
an inherit mode for sharing host IP address would be usefull
It is provided by jail() and even iocage too
Can you provide examples and/or usage?
inherit is a possible value for ip4/ip6 core parameter of jail(8) to use host's listening address, It is very handy to quickly test jailed services (upgrade/migration) on hosted testing servers, no need to setup IP for the jail so you can zfs send/recv jail from one test server to another very easily.
I threw together a patch to support ip4/ip6 inherit. Will do a bit more testing before I merge.
@cedwards was this patch merged previously????? What PR was it under?
Here is my usage that needs this feature @cedwards
I have a very simple home server, just two services: NFS and Mpd music server, to simplify life I don't want to remember two IPs, just want all share the same IP with the host. Lazy? but easy.