Date: Tue, 11 Jul 2017 12:01:35 -0500 From: Software Information <softwareinforjam@gmail.com> To: freebsd-stable@freebsd.org Subject: Little issue with Jails Message-ID: <CAFM8923drCDvO=miRx-L7sJAcoj%2Baz=A7dZKqeWrR%2BiOYzma=g@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi All I am using FreeBSD 11 and have created a new jail using the following steps 1. make buildworld DESTDIR=/here/is/the/jail 2. make installworld DESTDIR=/here/is/the/jail 3. make distribution DESTDIR=/here/is/the/jail 4. mount -t devfs devfs /here/is/the/jail/dev I have the following in my host rc.conf jail_enable="YES" # Set to NO to disable starting of any jails jail_list="www" # Space separated list of names of jails Note: Jail names in jail_list should contain alphanumeric characters only. For each jail listed in jail_list, a group of rc.conf(5) settings, which describe the particular jail, should be added: jail_www_rootdir="/usr/jail/www" # jail's root directory jail_www_hostname="jailname.org" # jail's hostname jail_www_ip="IP_Address" # jail's IP address jail_www_devfs_enable="YES" # mount devfs in the jail On the host, I did sysctl security.jail.allow_raw_sockets=1 In /etc/jail.conf, in the config section for that jail, I entered the line *allow.raw.sockets = 1 * and I also did an *echo 'security.jail.allow_raw_sockets=1' >> /etc/sysctl.conf *inside the jail. >From what I can tell, I should be able to ping inside the jail now but it still doesn't work. Does anyone see anything I may have left out?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFM8923drCDvO=miRx-L7sJAcoj%2Baz=A7dZKqeWrR%2BiOYzma=g>