The RcDotConf file (located at /etc/rc.conf) is probably the most important configuration file you'll want to edit on your FreeBSD system.
These are some selected excerpts from the file on the server that runs Subwiki.
#### Make this system into a router
gateway_enable="YES"
router_enable="YES"
#### Firewall - ipfilter
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipfilter_flags="-6 -f /etc/ipf6.rules"
ipmon_enable="YES"
ipmon_flags="-Dsn"
ipnat_enable="YES"
#### Daemons
syslogd_enable="YES"
named_enable="YES"
sshd_enable="YES"
xntpd_enable="YES"
sendmail_enable="YES"
#### Enable SNMP monitoring
net_snmpd_enable="YES"
net_snmpd_flags=""
#### NIS
nisdomainname="MYDOMAIN"
nis_client_enable="YES"
nis_server_enable="YES"
nis_yppasswdd_enable="YES"
#### Console
# keymap="capctrlswap.kbd"
saver="logo"
font8x8="NO"
font8x14="NO"
font8x16="NO"
allscreens_flags=""
moused_port="/dev/ums0"
moused_type="auto"
moused_enable="YES"
#### RAID
start_vinum="YES"
#### USB
usbd_enable="YES"
isc_dhcpd_flags="-q fxp1"
#### IPv6
ipv6_gateway_enable="YES"
#### Misc.
clear_tmp_enable="YES" # Nuke /tmp on reboot
linux_enable="YES"
# Supply extra entropy to /dev/random. These are the
# interrupts for two of the network cards and both of the
# IDE controllers
rand_irqs="5 10 14 15"
-- KirkStrauser - 13 Nov 2002
|