Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2003 17:46:21 +0300
From:      "stakys" <stakys@punktas.lt>
To:        "Konstantin M Volevatch" <cox@rosnet.ru>, <freebsd-security@freebsd.org>
Subject:   Re: Problems with JAIL in 4.8R
Message-ID:  <016101c35b60$56a9c320$0900a8c0@ss>
References:  <53210.81.7.109.95.1060089623.squirrel@mail.impress.lt> <200308051631.52531.cox@rosnet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Mayby i have to add some rules to ipfw to that rl0 alias somehow? I dont
know how to add rule for rl0 alias, to allow all traffic. Because if just
adding rules for rl0 it do not helps.
----- Original Message -----
From: "Konstantin M Volevatch" <cox@rosnet.ru>
To: <stakys@punktas.lt>; <freebsd-security@freebsd.org>
Sent: Tuesday, August 05, 2003 3:31 PM
Subject: Re: Problems with JAIL in 4.8R


> Try this:
> ipfw add 52 allow ip from any to me via rl0
>
> В сообщении от 5 Август 2003 17:20 stakys@punktas.lt написал:
> > On Tue, Aug 05, 2003 at 12:56:36PM -0000, stakys@punktas.lt wrote:
> > > Hi, i've set the outside ip for the jail..It works.. When i try to ssh
to
> > > jail'ed system from the main system (in which is created jail) the
> > > connection is successful, but when i try to connect to jailed system
from
> > > anywhere else i get this message:
> > > ssh: connect to host IP_NUMBER port 22: Operation timed out
> > > What can be wrong here? How to solve this problem?
> > >
> > >>Are you running some sort of firewall on the main system?  You might
> > >>have to add additional rules allowing SSH into the jailed one...
> > >>
> > >>G'luck,
> > >>Peter
> >
> > I'm running IPFW but i put such a lines to ipfw.rules to be sure that
it's
> > not firewall's fault, about connecting to jail'ed system from outside.
> > Here are the lines:
> > ipfw add 50 allow ip from any to any via lo0
> > ipfw add 51 allow ip from any to any via rl0
> > _______________________________________________
> > freebsd-security@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-security
> > To unsubscribe, send any mail to
"freebsd-security-unsubscribe@freebsd.org"
>
> --
> Konstantin M. Volevatch <cox@rosnet.ru>
> Internet Service Division, RosNet JSC, Moscow
> (095) 7813332 [local:4341]
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016101c35b60$56a9c320$0900a8c0>