to jail or not to jail
Andrea Venturoli
ml at netfence.it
Thu Jun 6 06:39:49 UTC 2019
On 6/6/19 6:41 AM, David Mehler wrote:
> 2. I'm needing each jail to log to the host machine. I'm wanting to do
> this because I've got fail2ban going on the host and want to ban
> addresses that are hitting on the jails.
In the jail:
_ add syslogd_enable="NO" to /etc/rc.conf;
_ service syslogd stop.
In the host:
_ add "-l /usr/jails/{myjail}/var/run/log" to syslogd_flags in
/etc/rc.conf (or whatever if you use other files);
_ service syslogd restart.
Standard security considerations apply.
bye
av.
More information about the freebsd-questions
mailing list