Date: Sat, 24 Feb 2007 22:32:46 +0100 From: Philipp Wuensche <cryx-freebsd@h3q.com> To: Jim Stapleton <stapleton.41@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: problems with jail Message-ID: <45E0AEFE.4080403@h3q.com> In-Reply-To: <80f4f2b20702240505o6c7f1e36r87389f645bc86238@mail.gmail.com> References: <80f4f2b20702231107p1cf7f4f3n5896aa7e8ef0ecaf@mail.gmail.com> <200702240408.40222.h.schmalzbauer@omnisec.de> <80f4f2b20702231921x603c759g9b143b24edfaa7d5@mail.gmail.com> <200702240430.09674.h.schmalzbauer@omnisec.de> <80f4f2b20702231936m9725099v6e638685273630f0@mail.gmail.com> <80f4f2b20702231943j3fea9f4fxb3919898ad4dfc21@mail.gmail.com> <20070224055350.GA2587@idoru.cepheid.org> <80f4f2b20702240505o6c7f1e36r87389f645bc86238@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@elrond 07:59:13 (0) /usr/ports > sysctl > security.jail.allow_raw_sockets > security.jail.allow_raw_sockets: 1 > root@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E0AEFE.4080403>