/etc/rc.conf
keymap="ru.koi8-r"
sshd_enable="YES"
ifconfig_fxp0="inet 10.0.0.254 netmask 255.255.255.0"
ifconfig_xl0="inet 192.168.24.15 netmask 255.255.255.0"
gateway_enable="YES"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="Yes"
ipmon_flags="-Ds"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"/etc/ipf.rules
pass out log on xl0 all
pass in log on xl0 all
pass in quick on lo0 all
pass out quick on lo0 all
pass in quick on xl0 all
pass out quick on xl0 all
pass in quick on fxp0 all
pass out quick on fxp0 all
/etc/ipnat.rules
map fxp0 192.168.24.0/24 -> 10.0.0.254/32 portmap tcp/udp 1:65535
/etc/syslog.conf
# $FreeBSD: src/etc/syslog.conf,v 1.30.2.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# Spaces ARE valid field separators in this file. However,
# other *nix-like systems still insist on using tabs as field
# separators. If you are sharing this file between systems, you
# may want to use only tabs as field separators here.
# Consult the syslog.conf(5) manpage.
*.err;kern.warning;auth.notice;mail.crit /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.* /var/log/ipfilter.log
local0.* /var/log/ipmon.log
auth.info;authpriv.info /var/log/auth.log
mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
ftp.info /var/log/xferlog
cron.* /var/log/cron
*.=debug /var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to /var/log/console.log
#console.info /var/log/console.log
# uncomment this to enable logging of all log messages to /var/log/all.log
# touch /var/log/all.log and chmod it to mode 600 before it will work
#*.* /var/log/all.log
# uncomment this to enable logging to a remote loghost named loghost
#*.* @loghost
# uncomment these if you're running inn
# news.crit /var/log/news/news.crit
# news.err /var/log/news/news.err
# news.notice /var/log/news/news.notice
!ppp
*.* /var/log/ppp.log
файлы
/var/log/ipfilter.log
/var/log/ipmon.log
существуют
Вопрос:
с 192.168.24.24 пингую и хожу на web к 10.0.0.1 но не пишутся логи?