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>

next in thread | raw e-mail | index | archive | help
Hello,=20

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

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

I have the following parameters :=20

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


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

security.jail.allow_raw_sockets=3D1

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


I am still not able to get the log correctly sent to the specified jail=85=
 ??=20


Any idea ?=20

=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=
=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96
---------> Gr=E9gory Bernard Director <---------
---------------> www.osnet.eu <---------------
--> Your provider of OpenSource appliances <--
=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=
=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO




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