#dc0 -- WAN
#xl0 -- LAN
#ipf.rules
pass in on dc0 from any to any
pass out on dc0 from any to any
pass in on xl0 from any to any
pass out on xl0 from any to any
#ipnat.rules
map dc0 192.168.0.0/24 -> 0.0.0.0/32 portmat tcp/udp 40000:60000
map dc0 192.168.0.0/24 -> 0.0.0.0/32
#rc.conf
# -- sysinstall generated deltas -- # Wed Aug 3 22:16:33 2005
# Created: Wed Aug 3 22:16:33 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
gateway_enable="YES"
hostname="somename.somewhere.ee"
ifconfig_dc0="DHCP"
inetd_enable="YES"
kern_securelevel_enable="NO"
keymap="estonian.iso"
nfs_reserved_port_only="NO"
saver="daemon"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="NO"
ifconfig_xl0="inet 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255"
#ifconfig_dc1="inet 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255"
ipfilter_enable="YES"
#ipfilter_program="/sbin/ipf"
#ipfilter_rules="/etc/ipf.rules"
ipfilter_flags=""
ipnat_enable="YES"
ipnat_program="/sbin/ipnat"
ipnat_rules="/etc/ipnat.rules"
ipnat_flags=""
ipmon_enable="YES"
ipmon_program="/sbin/ipmon"
ipmon_flags="-Dsn"
defaultrouter="192.168.1.1"