source: hybrid/branches/releng-9.0/nanobsd/files/etc/rc.conf@ 10448

Last change on this file since 10448 was 10448, checked in by rick, 13 years ago

Two more functionality things for hybrid nodes who needs it.

  • Property svn:eol-style set to LF
File size: 2.0 KB
Line 
1# No kernel dumps as we don't have a place to store them
2dumpdev="NO"
3
4# We are an router/gateway (wireless to be precise) running the lvrouted
5# routing daemon.
6gateway_enable="YES"
7lvrouted_enable="YES"
8lvrouted_flags="-u -s s00p3rs3kr3t -m 28"
9
10# NTP server needs working config with WL network or internet on boot
11# so some warnings might pop up, but no harm
12ntpdate_enable="YES"
13ntpd_enable="YES"
14ntpd_sync_on_start="YES"
15ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntp.drift"
16
17# We need no running mail server
18sendmail_enable="NONE"
19
20# Don't let syslog accept input from other remote hosts
21syslogd_enable="YES"
22syslogd_flags="-s -A -c"
23
24# Remote login without DNS checking as it might not also be functionable
25# -u0 prevent sshd from making DNS requests unless the authentication mechanism
26# or configuration requires it.
27sshd_enable="YES"
28sshd_flags="-u0"
29
30# Monitoring deamons
31nrpe2_enable="YES"
32snmpd_enable="YES"
33snmpd_flags="-a -LF w /var/log/snmpd.log"
34
35# HTTP(S) proxy server
36tinyproxy_enable="NO"
37
38# Make sure generated ssh keys are saved
39nanobsd_save_sshkeys_enable="YES"
40
41# low-memory footprint DHCP and non-autoritive recursive DNS resolver
42dnsmasq_enable="YES"
43
44# Explicitly disable the memory-hungry alternatives
45dhcpd_enable="NO"
46named_enable="NO"
47named_chrootdir=""
48named_auto_forward="YES"
49
50# WL Captive Portal and WL Web Config Overview
51thttpd_enable="YES"
52http302_enable="YES"
53
54# Hybrid setup, requires outgoing VPN Server
55openvpn_enable="NO"
56openvpn_if="tap"
57openvpn_configfile="/usr/local/etc/openvpn/client.conf"
58
59# Enable the firewall by default
60pf_enable="YES"
61pf_rules="/etc/pf.open.conf"
62pf_flags=''
63# Used with Proxy Configuration
64#pf_rules="/etc/pf.proxy.conf"
65#pf_flags="-D ext_if=vr0 -D int_if=vr1 -D publicnat={80,443}"
66# Used with Node Configuration
67#pf_rules="/etc/pf.node.conf"
68#pf_flags="-D captive_portal_interfaces=wlan0,wlan1"
69# Used with Hybrid Configuration
70#pf_rules="/etc/pf.hybrid.conf"
71#pf_flags="-D ext_if=vr0 -D captive_portal_interfaces=wlan0 -D publicnat=80,443"
Note: See TracBrowser for help on using the repository browser.