Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 16:40:21 +0100
From:      bsd <bsd@todoo.biz>
To:        Liste FreeBSD <freebsd-questions@freebsd.org>
Subject:   Setting up a syslog server in a jail
Message-ID:  <31C3E932-AC4E-473B-89ED-FFB21CAA7C34@todoo.biz>

index | next in thread | raw e-mail

Hello, 

I would like to setup a syslog server inside a jail 
I have setup couple of other jail and they are already working as a DNS server and a HTTP server. 

The next step would be to configure a new jail as a syslog server. 

I have the following parameters : 

jail_enable="YES"
jail_mount_enable="YES"
jail_set_hostname_allow="NO"
jail_sysvipc_allow="YES" # for syslog et postgres
jail_socket_unixiproute_only="NO"
jail_list="ns0 lacoste logjail"
jail_logjail_hostname="logjail.osnet.eu"
jail_logjail_ip="1.2.3.4"
jail_logjail_rootdir="/jails/j/logjail"
jail_logjail_devfs_enable="YES"


I have also setup in /etc/sysctl.conf : 

security.jail.allow_raw_sockets=1

• I can ping the remote host (the one sending IP datagram)
• I can dig any domain


I am still not able to get the log correctly sent to the specified jail… ?? 


Any idea ? 

––––––––––––––––––––––––––––––––––––––––––––––
---------> Grιgory Bernard Director <---------
---------------> www.osnet.eu <---------------
--> Your provider of OpenSource appliances <--
––––––––––––––––––––––––––––––––––––––––––––––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31C3E932-AC4E-473B-89ED-FFB21CAA7C34>