[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Two jail newbie questions
I have installed the jail system using ezjail and it is up and running.
Output of jls is
JID IP Address Hostname Path
1 xxx.65.222.198 stu /data/jails/stu
I also added an IP for the jail using
ifconfig lo0 alias xxx.65.222.198 netmask 255.255.255.255
Output of ifconfig is
fwe0: flags=108802<BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
ch 1 dma -1
nve0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet xxx.65.222.197 netmask 0xffffffe0 broadcast xxx.65.222.223
media: Ethernet autoselect (100baseTX)
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
inet xxx.65.222.198 netmask 0xffffffff
Using jexec I entered the jail and added a user.
Inside the jail I cannot ping out. From outside the jail I cannot ssh in.
Where should I look at to fix this. sshd is running inside the jail.
I get the error
ssh: connect to host xxx.65.222.198 port 22: No route to host
Should I set the jail IP on the nve0 interface instead of the lo0
I also tried to add some software from ports as root inside the jail
but cannot access the ports tree.
Do I add software from inside the jail? Or do I add it from outside the
A little direction here would be very helpful, my head is starting to hurt
from banging it against the desk.
Thanks for any help.