hello,
I've installed a jail on my FBSD 5.0 machine like in the well known bsdpro
howto decribed.
Ok, my hardware enviroment looks slighty different - I have only one network
device (xl0) in that machine but afaik that should be not a problem... the
host ip is 192.168.0.1 and the ip of the jail is 172.16.0.1. I know there are
many reasons to run a jail on a second network device, however the jail is up
and everything inside works fine. But as soon as I got jailed (jail
/usr/jail/172.16.0.1 jailtest 172.16.0.1 /bin/sh) there is no way to connect to the
internet (e.g. ftp or lynx) or to any other machines in the host network
domain.
a ssh connection from outside (192.168.0.1) into the successfully started
jail (jail /usr/jail/172.16.0.1 jailtest 172.16.0.1 /bin/sh /etc/rc) is
possible but after the successful ssh password verification the connection seems to
get freezed - I can't type or exit the shell... but a ps -ax on the host
shell shows me that the ssh connection to the jail ist still up!
my settings inside the jail:
sshd_config:
Port 22
Protocol 2
ListenAddress 172.16.0.1
#ListenAddress ::
hosts:
127.0.0.1 localhost.mydomain.local localhost
172.16.0.1 jail.mydomain.local jail
a netstat -rn inet shows me:
jailtest# netstat -rn inet
Routing tables
netstat: short read
pls help
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message