I am still struggling with jails in bastille. I wonder if you could help me why I cannot ping anywhere out of jail. It works for my wwwserver jail, mailserver jail but it doesn't work with gameserver jail. I have checked config and there is not much difference in between configs. sysctl.conf has line:
and my gameserver jail runs ubuntu compatibility linux.
See below conf for wwwserver jail where ping works fine:
and see below conf file for gameserver with ubuntu comp:
Everytime I try to ping from gameserver jail I get:
Please help, tried to solve it for few days and nothing
Code:
security.jail.allow_raw_sockets=1
See below conf for wwwserver jail where ping works fine:
Code:
wwwserver {
devfs_ruleset = 4;
enforce_statfs = 2;
exec.clean;
exec.consolelog = /var/log/bastille/wwwserver_console.log;
exec.start = '/bin/sh /etc/rc';
exec.stop = '/bin/sh /etc/rc.shutdown';
host.hostname = wwwserver;
mount.devfs;
mount.fstab = /usr/local/bastille/jails/wwwserver/fstab;
path = /usr/local/bastille/jails/wwwserver/root;
securelevel = 2;
allow.raw_sockets=1;
interface = bce1.1;
ip4.addr = 10.0.0.1;
ip6 = disable;
}
Code:
gameserver {
host.hostname = gameserver;
mount.fstab = /usr/local/bastille/jails/gameserver/fstab;
path = /usr/local/bastille/jails/gameserver/root;
devfs_ruleset = 4;
exec.start = '/bin/true';
exec.stop = '/bin/true';
securelevel = 2;
persist;
allow.raw_sockets=1;
interface = bce1.3;
ip4.addr = 10.0.0.3;
ip6 = disable;
}
Everytime I try to ping from gameserver jail I get:
ping: socket: Protocol not supported
Please help, tried to solve it for few days and nothing