|
Lines 41-47
Link Here
|
| 41 |
### Basic network and firewall/security options: ### |
41 |
### Basic network and firewall/security options: ### |
| 42 |
hostname="" # Set this! |
42 |
hostname="" # Set this! |
| 43 |
nisdomainname="NO" # Set to NIS domain if using NIS (or NO). |
43 |
nisdomainname="NO" # Set to NIS domain if using NIS (or NO). |
| 44 |
dhcp_program="/sbin/dhclient" # Path to dhcp client program. |
44 |
dhcp_program="dhclient" # Path to dhcp client program. |
| 45 |
dhcp_flags="" # Additional flags to pass to dhcp client. |
45 |
dhcp_flags="" # Additional flags to pass to dhcp client. |
| 46 |
firewall_enable="NO" # Set to YES to enable firewall functionality |
46 |
firewall_enable="NO" # Set to YES to enable firewall functionality |
| 47 |
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall |
47 |
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall |
|
Lines 53-65
Link Here
|
| 53 |
ip_portrange_last="NO" # Set last dynamically allocated port |
53 |
ip_portrange_last="NO" # Set last dynamically allocated port |
| 54 |
ipsec_enable="NO" # Set to YES to run setkey on ipsec_file |
54 |
ipsec_enable="NO" # Set to YES to run setkey on ipsec_file |
| 55 |
ipsec_file="/etc/ipsec.conf" # Name of config file for setkey |
55 |
ipsec_file="/etc/ipsec.conf" # Name of config file for setkey |
| 56 |
natd_program="/sbin/natd" # path to natd, if you want a different one. |
56 |
natd_program="natd" # path to natd, if you want a different one. |
| 57 |
natd_enable="NO" # Enable natd (if firewall_enable == YES). |
57 |
natd_enable="NO" # Enable natd (if firewall_enable == YES). |
| 58 |
natd_interface="fxp0" # Public interface or IPaddress to use. |
58 |
natd_interface="fxp0" # Public interface or IPaddress to use. |
| 59 |
natd_flags="" # Additional flags for natd. |
59 |
natd_flags="" # Additional flags for natd. |
| 60 |
ipfilter_enable="NO" # Set to YES to enable ipfilter functionality |
60 |
ipfilter_enable="NO" # Set to YES to enable ipfilter functionality |
| 61 |
ipfilter_program="/sbin/ipf -Fa -f" |
61 |
ipfilter_program="ipf -Fa -f" # program and how to specify the rules file, |
| 62 |
# program and how to specify the rules file, |
|
|
| 63 |
# see /etc/rc.network (pass1) for details |
62 |
# see /etc/rc.network (pass1) for details |
| 64 |
ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see |
63 |
ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see |
| 65 |
# /usr/src/contrib/ipfilter/rules for examples |
64 |
# /usr/src/contrib/ipfilter/rules for examples |
|
Lines 67-77
Link Here
|
| 67 |
# (i.e. compiled into the kernel) to |
66 |
# (i.e. compiled into the kernel) to |
| 68 |
# avoid a warning about "already initialized" |
67 |
# avoid a warning about "already initialized" |
| 69 |
ipnat_enable="NO" # Set to YES for ipnat; needs ipfilter, too! |
68 |
ipnat_enable="NO" # Set to YES for ipnat; needs ipfilter, too! |
| 70 |
ipnat_program="/sbin/ipnat -CF -f" # program and how to specify rules file |
69 |
ipnat_program="ipnat -CF -f" # program and how to specify rules file |
| 71 |
ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat |
70 |
ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat |
| 72 |
ipnat_flags="" # additional flags for ipnat |
71 |
ipnat_flags="" # additional flags for ipnat |
| 73 |
ipmon_enable="NO" # Set to YES for ipmon; needs ipfilter, too! |
72 |
ipmon_enable="NO" # Set to YES for ipmon; needs ipfilter, too! |
| 74 |
ipmon_program="/sbin/ipmon" # where the ipfilter monitor program lives |
73 |
ipmon_program="ipmon" # where the ipfilter monitor program lives |
| 75 |
ipmon_flags="-Ds" # typically "-Ds" or "-D /var/log/ipflog" |
74 |
ipmon_flags="-Ds" # typically "-Ds" or "-D /var/log/ipflog" |
| 76 |
tcp_extensions="YES" # Set to NO to turn off RFC1323 extensions. |
75 |
tcp_extensions="YES" # Set to NO to turn off RFC1323 extensions. |
| 77 |
log_in_vain="NO" # YES to log connects to ports w/o listeners. |
76 |
log_in_vain="NO" # YES to log connects to ports w/o listeners. |
|
Lines 108-117
Link Here
|
| 108 |
|
107 |
|
| 109 |
### Network daemon (miscellaneous) & NFS options: ### |
108 |
### Network daemon (miscellaneous) & NFS options: ### |
| 110 |
syslogd_enable="YES" # Run syslog daemon (or NO). |
109 |
syslogd_enable="YES" # Run syslog daemon (or NO). |
| 111 |
syslogd_program="/usr/sbin/syslogd" # path to syslogd, if you want a different one. |
110 |
syslogd_program="syslogd" # path to syslogd, if you want a different one. |
| 112 |
syslogd_flags="-s" # Flags to syslogd (if enabled). |
111 |
syslogd_flags="-s" # Flags to syslogd (if enabled). |
| 113 |
inetd_enable="YES" # Run the network daemon dispatcher (or NO). |
112 |
inetd_enable="YES" # Run the network daemon dispatcher (or NO). |
| 114 |
inetd_program="/usr/sbin/inetd" # path to inetd, if you want a different one. |
113 |
inetd_program="inetd" # path to inetd, if you want a different one. |
| 115 |
inetd_flags="-wW" # Optional flags to inetd |
114 |
inetd_flags="-wW" # Optional flags to inetd |
| 116 |
# |
115 |
# |
| 117 |
# named. It may be possible to run named in a sandbox, man security for |
116 |
# named. It may be possible to run named in a sandbox, man security for |
|
Lines 147-154
Link Here
|
| 147 |
nfs_bufpackets="DEFAULT" # bufspace (in packets) for client (or DEFAULT) |
146 |
nfs_bufpackets="DEFAULT" # bufspace (in packets) for client (or DEFAULT) |
| 148 |
rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server. |
147 |
rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server. |
| 149 |
rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO). |
148 |
rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO). |
| 150 |
portmap_enable="NO" # Run the portmapper service (or NO). |
149 |
portmap_enable="NO" # Run the portmapper service (or YES). |
| 151 |
portmap_program="/usr/sbin/portmap" # path to portmap, if you want a different one. |
150 |
portmap_program="portmap" # path to portmap, if you want a different one. |
| 152 |
portmap_flags="" # Flags to portmap (if enabled). |
151 |
portmap_flags="" # Flags to portmap (if enabled). |
| 153 |
rpc_ypupdated_enable="NO" # Run if NIS master and SecureRPC (or NO). |
152 |
rpc_ypupdated_enable="NO" # Run if NIS master and SecureRPC (or NO). |
| 154 |
keyserv_enable="NO" # Run the SecureRPC keyserver (or NO). |
153 |
keyserv_enable="NO" # Run the SecureRPC keyserver (or NO). |
|
Lines 162-168
Link Here
|
| 162 |
pppoed_flags="-P /var/run/pppoed.pid" # Flags to pppoed (if enabled). |
161 |
pppoed_flags="-P /var/run/pppoed.pid" # Flags to pppoed (if enabled). |
| 163 |
pppoed_interface="fxp0" # The interface that pppoed runs on. |
162 |
pppoed_interface="fxp0" # The interface that pppoed runs on. |
| 164 |
sshd_enable="NO" # Enable sshd |
163 |
sshd_enable="NO" # Enable sshd |
| 165 |
sshd_program="/usr/sbin/sshd" # path to sshd, if you want a different one. |
164 |
sshd_program="sshd" # path to sshd, if you want a different one. |
| 166 |
sshd_flags="" # Additional flags for sshd. |
165 |
sshd_flags="" # Additional flags for sshd. |
| 167 |
|
166 |
|
| 168 |
### Network Time Services options: ### |
167 |
### Network Time Services options: ### |
|
Lines 200-206
Link Here
|
| 200 |
ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon. |
199 |
ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon. |
| 201 |
ipxrouted_flags="" # Flags for IPX routing daemon. |
200 |
ipxrouted_flags="" # Flags for IPX routing daemon. |
| 202 |
arpproxy_all="NO" # replaces obsolete kernel option ARP_PROXYALL. |
201 |
arpproxy_all="NO" # replaces obsolete kernel option ARP_PROXYALL. |
| 203 |
forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES") |
202 |
forward_sourceroute="NO" # do source routing if gateway_enable is YES |
| 204 |
accept_sourceroute="NO" # accept source routed packets to us |
203 |
accept_sourceroute="NO" # accept source routed packets to us |
| 205 |
|
204 |
|
| 206 |
### ATM interface options: ### |
205 |
### ATM interface options: ### |
|
Lines 236-242
Link Here
|
| 236 |
#ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1" |
235 |
#ipv6_route_xxx="fec0:0000:0000:0006:: -prefixlen 64 ::1" |
| 237 |
ipv6_gateway_enable="NO" # Set to YES if this host will be a gateway. |
236 |
ipv6_gateway_enable="NO" # Set to YES if this host will be a gateway. |
| 238 |
ipv6_router_enable="NO" # Set to YES to enable an IPv6 routing daemon. |
237 |
ipv6_router_enable="NO" # Set to YES to enable an IPv6 routing daemon. |
| 239 |
ipv6_router="/usr/sbin/route6d" # Name of IPv6 routing daemon. |
238 |
ipv6_router="route6d" # Name of IPv6 routing daemon. |
| 240 |
ipv6_router_flags="" # Flags to IPv6 routing daemon. |
239 |
ipv6_router_flags="" # Flags to IPv6 routing daemon. |
| 241 |
#ipv6_router_flags="-l" # Example for route6d with only IPv6 site local |
240 |
#ipv6_router_flags="-l" # Example for route6d with only IPv6 site local |
| 242 |
# addrs. |
241 |
# addrs. |
|
Lines 256-263
Link Here
|
| 256 |
# IPv6 default router for local subnets. |
255 |
# IPv6 default router for local subnets. |
| 257 |
rtadvd_interfaces="" # Interfaces rtadvd sends RA packets. |
256 |
rtadvd_interfaces="" # Interfaces rtadvd sends RA packets. |
| 258 |
mroute6d_enable="NO" # Do IPv6 multicast routing. |
257 |
mroute6d_enable="NO" # Do IPv6 multicast routing. |
| 259 |
mroute6d_program="/usr/sbin/pim6dd" # Name of IPv6 multicast routing |
258 |
mroute6d_program="pim6dd" # Name of IPv6 multicast routing daemon. |
| 260 |
# daemon. |
|
|
| 261 |
mroute6d_flags="" # Flags to IPv6 multicast routing daemon. |
259 |
mroute6d_flags="" # Flags to IPv6 multicast routing daemon. |
| 262 |
stf_interface_ipv4addr="" # Local IPv4 addr for 6to4 IPv6 over IPv4 |
260 |
stf_interface_ipv4addr="" # Local IPv4 addr for 6to4 IPv6 over IPv4 |
| 263 |
# tunneling interface. Specify this entry |
261 |
# tunneling interface. Specify this entry |
|
Lines 312-330
Link Here
|
| 312 |
############################################################## |
310 |
############################################################## |
| 313 |
|
311 |
|
| 314 |
cron_enable="YES" # Run the periodic job daemon. |
312 |
cron_enable="YES" # Run the periodic job daemon. |
| 315 |
cron_program="/usr/sbin/cron" # Which cron executable to run (if enabled). |
313 |
cron_program="cron" # Which cron executable to run (if enabled). |
| 316 |
cron_flags="" # Which options to pass to the cron daemon. |
314 |
cron_flags="" # Which options to pass to the cron daemon. |
| 317 |
lpd_enable="NO" # Run the line printer daemon. |
315 |
lpd_enable="NO" # Run the line printer daemon. |
| 318 |
lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one. |
316 |
lpd_program="lpd" # path to lpd, if you want a different one. |
| 319 |
lpd_flags="" # Flags to lpd (if enabled). |
317 |
lpd_flags="" # Flags to lpd (if enabled). |
| 320 |
usbd_enable="NO" # Run the usbd daemon. |
318 |
usbd_enable="NO" # Run the usbd daemon. |
| 321 |
usbd_flags="" # Flags to usbd (if enabled). |
319 |
usbd_flags="" # Flags to usbd (if enabled). |
| 322 |
sendmail_enable="YES" # Run the sendmail inbound daemon (or NO). |
320 |
sendmail_enable="YES" # Run the sendmail inbound daemon (or NO). |
| 323 |
sendmail_flags="-bd -q30m" # Flags to sendmail (as a server) |
321 |
sendmail_flags="-bd -q30m" # Flags to sendmail (if enabled) |
| 324 |
sendmail_outbound_enable="NO" # Dequeue stuck mail (or YES). |
322 |
sendmail_outbound_enable="NO" # Dequeue stuck mail (or YES). |
| 325 |
sendmail_outbound_flags="-q30m" # Flags to sendmail (outbound only) |
323 |
sendmail_outbound_flags="-q30m" # Flags to sendmail (outbound only) |
| 326 |
dumpdev="NO" # Device name to crashdump to (or NO). |
324 |
dumpdev="NO" # Device name to crashdump to (or NO). |
| 327 |
savecore_flags="" # Used if dumpdev is enabled above, and present. |
325 |
savecore_flags="" # Used if dumpdev is enabled above, and present. |
| 328 |
enable_quotas="NO" # turn on quotas on startup (or NO). |
326 |
enable_quotas="NO" # turn on quotas on startup (or NO). |
| 329 |
check_quotas="YES" # Check quotas on startup (or NO). |
327 |
check_quotas="YES" # Check quotas on startup (or NO). |
| 330 |
accounting_enable="NO" # Turn on process accounting (or NO). |
328 |
accounting_enable="NO" # Turn on process accounting (or NO). |
|
Lines 343-349
Link Here
|
| 343 |
kern_securelevel_enable="NO" # kernel security level (see init(8)), |
341 |
kern_securelevel_enable="NO" # kernel security level (see init(8)), |
| 344 |
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure |
342 |
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure |
| 345 |
update_motd="YES" # update version info in /etc/motd (or NO) |
343 |
update_motd="YES" # update version info in /etc/motd (or NO) |
| 346 |
start_vinum="NO" # set to YES to start vinum |
344 |
start_vinum="NO" # set to YES to start vinum |
| 347 |
unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). |
345 |
unaligned_print="YES" # print unaligned access warnings on the alpha (or NO). |
| 348 |
|
346 |
|
| 349 |
############################################################## |
347 |
############################################################## |