problems with jail

Jim Stapleton stapleton.41 at gmail.com
Sat Feb 24 22:11:04 UTC 2007


Thank you, that fixed it.

After all the other stuff (some of which also had it broke), it was a 1...
ARGH!

Thanks again, I am now the proud owner of a shiny new jail to put all
my processes behind bars inside of.

:-)

On 2/24/07, Philipp Wuensche <cryx-freebsd at h3q.com> wrote:
> Jim Stapleton wrote:
> >
> > Issue not confused, but it did give me some "try this" tests.
> > Unfortunately I still cant connect to anything outside of the jail,
> > not even to the host.
> > SSHing into jail does not work, into host does.
> > root at elrond 07:54:40 (0) /usr/ports  > jail /jail/ legolas 92.168.1.85
> > /bin/csh
> > %ssh -x 192.168.1.84
> > ^C
> >
> > And as a last test I should have thought of before:
> > root at elrond 07:59:13 (0) /usr/ports  > sysctl
> > security.jail.allow_raw_sockets
> > security.jail.allow_raw_sockets: 1
> > root at elrond 07:59:26 (0) /usr/ports  > jail /jail/ legolas 92.168.1.85
> > /bin/csh
> > %ping 127.0.0.1
> > PING 127.0.0.1 (127.0.0.1): 56 data bytes
> > ^C
>
> There is missing a 1 in front of 92.168.1.85
>
> If you do ifconfig inside the jail and you don't see the ipaddr. of the
> jail configured on any of the network interfaces, you did something
> wrong. Either forgot to configure the ipaddr. or used the wrong in the
> jail command.
>
> greetings,
> philipp
>
>


More information about the freebsd-questions mailing list