Ping from jail not permitted error

APseudoUtopia apseudoutopia at gmail.com
Sun Apr 18 02:14:49 UTC 2010


On Sat, Apr 17, 2010 at 8:39 PM, Aiza <aiza21 at comclark.com> wrote:
> My jail has public internet access because i can do pkg_add -r unix2dos and
> the package does install. But when I enter ping -c 2 freebsd.org I get
> message "ping: socket: Operation not permitted"  There is no firewall
> running in the jail.
>
> Any ideas would be helpful.
>
> Thanks

There is a sysctl option on the host which disallows raw sockets from
inside any jails,
security.jail.allow.raw_sockets

See the jail manpage.


More information about the freebsd-questions mailing list