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

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

Rewrote Captive Portal to use Packet Filter (pf) instead. This is much robuster and better administrable then ipfw.

Also cleaned out most of the ugly looking cache code.

  • Property svn:eol-style set to LF
File size: 1.7 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_auto_forward="YES"
48
49# WL Captive Portal and WL Web Config Overview
50thttpd_enable="YES"
51http302_enable="YES"
52
53# Hybrid setup, requires outgoing VPN Server
54openvpn_enable="NO"
55openvpn_if="tap"
56
57# Enable the firewall by default
58pf_enable="YES"
59pf_rules="/etc/pf.open.conf"
60pf_flags=''
61# Used with /etc/pf.proxy.conf
62# pf_flags="-D ext_if=vr0 -D int_if=vr1 -D publicnat={80,443}"
63# Used with /etc/pf.node.conf
64# pf_flags="-D captive_portal_interfaces=wlan0,wlan1"
Note: See TracBrowser for help on using the repository browser.