ipfilter.log
Erik Nørgaard
norgaard at locolomo.org
Mon Apr 4 01:37:38 PDT 2005
Francis Whittington wrote:
> Hi guys,
> I've been following this guide:
> http://www.unixguide.net/freebsd/fbsd_installguide/index.php
> So far I have gotten the firewall/router to work. Everything seems to be okay, except I do not see anything being logged in ipfilter.log. My rc.conf options are:
>
> moused_enable="YES"
> moused_port="/dev/psm0"
> moused_type="auto"
> moused_flags="-m 2=3"
> allscreens_flags="-m on -c blink -h 200"
> clear_tmp_enable="YES"
> hostname="gateway.fbsdbuds.com"
> saver="logo"
> ifconfig_rl0="DHCP"
> ipfilter_enable="YES"
> ipfilter_rules="/etc/ipf.rules"
> ipmon_enable="YES"
> ipmon_flags="-Ds"
> ipnat_enable="YES"
> ipnat_rules="/etc/ipnat.rules"
> ifconfig_rl1="inet 10.0.10.2 netmask 255.255.255.248"
> gateway_enable="YES"
Two things:
First: You can log directly to a file instead of through syslog:
ipmon_flags="-D /path/to/logfile"
Second: Have you any rules in your ruleset with the "log" keyword?
Cheers, Erik
--
Ph: +34.666334818 web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
More information about the freebsd-questions
mailing list