jails

Bender, Chris chris_bender at cellularatsea.com
Tue Jan 31 19:43:55 UTC 2012


Host system rc.conf :

zs1# more rc.conf
zfs_enable="YES"
hostname="zs1.wms.cellularatsea.com"
defaultrouter="172.19.4.2"
sendmail_enable="NO"
sshd_enable="YES"
#ntpd_enable="YES"
accounting_enable="YES"
auditd_enable="YES"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
rpcbind_enable="YES"
nfs_client_enable="YES"

# Network IPs
ifconfig_em0="inet 172.19.4.67 netmask 255.255.255.0 mtu 9000 polling
up"

#
# Jails em0
ifconfig_em0_alias0="172.19.4.44 netmask 255.255.255.255"
ifconfig_em0_alias1="172.19.4.36 netmask 255.255.255.255"
ifconfig_em0_alias2="172.19.4.38 netmask 255.255.255.255"
ifconfig_em0_alias3="172.19.4.45 netmask 255.255.255.255"
ifconfig_em0_alias4="172.19.4.39 netmask 255.255.255.255"
ifconfig_em0_alias5="172.19.4.190 netmask 255.255.255.255"
ifconfig_em0_alias6="172.19.4.43 netmask 255.255.255.255"
ifconfig_em0_alias7="172.19.4.42 netmask 255.255.255.255"
ifconfig_em0_alias9="172.19.4.41 netmask 255.255.255.255"
ifconfig_em0_alias10="172.19.4.46 netmask 255.255.255.255"
ifconfig_em0_alias11="172.19.4.47 netmask 255.255.255.255"
ifconfig_em0_alias12="172.19.4.48 netmask 255.255.255.255"
ifconfig_em0_alias13="172.19.4.37 netmask 255.255.255.255"
# ifconfig_em0_alias2="172.19.4.32 netmask 255.255.255.255"

# ifconfig_em0_alias8="172.19.4.200 netmask 255.255.255.255"
# ezjail
ezjail_enable="NO"
sysvipc_enable="YES"
jail_sysvipc_allow="YES"

# bsnmpd
bsnmpd_enable="YES"
# smartd
smartd_enable="YES"
# istatd
istatd_enable="YES"





RC.CONF on jails system

# Pretuned by German Engineers

# No network interfaces in jails
network_interfaces=""

# Prevent rpc
rpcbind_enable="NO"

# Prevent loads of jails doing their cron jobs at the same time
cron_flags="$cron_flags -J 15"

# Prevent syslog to open sockets
syslogd_flags="-ss"

# Prevent sendmail to try to connect to localhost
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

# Bring up sshd, it takes some time and uses some entropy on first
startup
sshd_enable="YES"
# inetd
inetd_enable="YES"
inetd_flags="-wW -C 60 -a tools2"
# apache22
apache22_enable="YES"
# squid
squid_enable="YES"
# postfix
postfix_enable="YES"
# balance
balance_enable="YES"
balance_hosts="iphone dot48"
balance_iphone_flags=""
balance_iphone_address="iphone.wms.cellularatsea.com"
balance_iphone_ports="80 443"
balance_iphone_targets="owa.cellularatsea.com"
balance_dot48_flags=""
balance_dot48_address="172.19.4.48"
balance_dot48_ports="8085"
balance_dot48_targets="172.19.231.11"

# vsftpd
vsftpd_enable="YES"

# nrpe
nrpe2_enable="YES"





I don't see an ssh issue anywhere but maybe I am missing that. The other
subsystems can ssh, but this one can't.





-----Original Message-----
From: Dirk Engling [mailto:erdgeist at erdgeist.org] 
Sent: Tuesday, January 31, 2012 2:24 PM
To: Bender, Chris
Cc: freebsd-jail at freebsd.org
Subject: Re: jails

On 31.01.12 20:16, Bender, Chris wrote:

> Outside world cannot see one of my jails.  I can ping it, but that's
it. My other jails work fine. I am not sure as why. 

Once you configure the IP address on your interface, you can ping it,
with or without jails.

> I have searched the intenet over but nothing seems to work. 

Can you type "ezjail-admin list" and paste the results, please?

  erdgeist


More information about the freebsd-jail mailing list