[Bug 278232] Jail IPv4 source address selection inside a jail not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 27 Apr 2024 15:01:39 UTC

--- Comment #12 from Dirk Meyer <dinoex@FreeBSD.org> ---

Sorry this text is still unclear to me.

I would expect "ip4.saddrsel" to allow source selection
and "ip4.nosaddrsel" will disable it.

but "ip4.nosaddrsel" is not documented in "man jail"?

I confirmed removing "ip4.saddrsel" does not change anything.

quote from "man jail"

For IPv4 the first address given will be used as the source address
when source address selection on unbound sockets cannot find a
better match.  [...]

What is the correct way to have "source address selection" in the jail?

For now only with "ip4=inherit" I can see the RFC1918 IP is used.

You are receiving this mail because:
You are the assignee for the bug.