Raw sockets in jails

Tim Judd tajudd at gmail.com
Tue Jan 26 06:06:32 UTC 2010

On 1/25/10, Nathan Butcher <n-butcher at fusiongol.com> wrote:
> Thanks for the link. That clears a few things up, but not quite what I'm
> trying to achieve.I set the following in rc.conf for a jail called "test"
> jail_test_flags="allow.raw_sockets"
> then I start the test jail with
> # /etc/rc.d/jail start test
> ... and then I get the following cryptic response...
> Configuring jails:.
> Starting jails: cannot start jail "test":
> But it doesn't look like one.
> .
> ... and the jail doesn't start.
> What's the story there?

allowing raw sockets to a jail is a sysctl

sysctl -a | grep "jail."

the raw sockets tunable should easily be found.  make the change
permanent by editing/adding it to /etc/sysctl.conf


More information about the freebsd-questions mailing list