This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathetc_rc.conf
133 lines (98 loc) · 2.53 KB
/
etc_rc.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
dbus_enable="YES"
hald_enable="YES"
linux_enable="YES"
#kld_list="nvidia-modeset i915"
kld_list="nvidia-modeset i915kms"
## ZFS Support
zfs_enable="YES"
## Network
hostname="HOST NAME"
wlans_iwn0="wlan0"
ifconfig_wlan0="ssid <SSID NAME> WPA SYNCDHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
# For Packets to be forwarded between interfaces
gateway_enable="YES"
ipv6_gateway_enable="YES"
local_unbound_enable="YES"
## Firewall
#firewall_enable="YES"
#firewall_logging="YES"
pf_enable="YES" # must configure /etc/pf.conf correctly, otherwise certain normal http requests get blocked, e.g., http://localhost:<PORT> (websockets against 'localhost' and any of '/etc/hosts')
pflog_enable="YES"
## IP Filter
#ipfilter_enable="YES"
## The following entries could go together
## check `/etc/pf.conf`
## /tmp dir
clear_tmp_enable="YES"
## /var dir
clearvar_enable="YES"
## APM - Intel Advanced Power Management
#apm_enable="YES"
#apmd_enable="YES"
## Disable Remote Logging (prevent opening Syslogd network socket)
## syslogd is enabled by default --threfore, no need to explicitely re-enable it here
syslogd_flags="-ss"
sendmail_enable="NONE"
## SSH
sshd_enable="YES"
## NTP
ntpd_enable="YES"
dumpdev="NO"
## Mouse
moused_enable="YES"
moused_flags="-VH"
moused_port="/dev/psm0"
moused_type="auto"
## Virtual Console
## When /boot/loader.conf is configured with kern.vty=sc
## and vidcontrol provides MODE_333
## and vidfont provides English 8x16 thin
#allscreens_flags="MODE_333 cyan"
#allscreens_flags="MODE_353 cyan"
#allscreens_flags="MODE_332 lightwhite black"
allscreens_flags="MODE_333 lightwhite black"
cursor="destructive"
blank="30"
#font8x16="cp437-thin-8x16"
## Enable rule sets in /etc/devfs.rules
devfs_system_ruleset="localrules"
devfs_system_ruleset="system"
## Power
powerd_enable="YES"
#powerd_flags="-a adaptive -b adaptive -n adaptive"
# C-states
# Ref: https://wiki.freebsd.org/TuningPowerConsumption
#performance_cx_lowest="Cmax"
#economy_cx_lowest="Cmax"
#performance_cx_lowest="C3"
#economy_cx_lowest="C3"
## Audio
#sound_enable="YES"
#mixer_enable="YES"
# xfce
#slim_enable="YES"
# KDE
#sddm_enable="YES"
# Emacs
keymap="us.emacs"
# vm-bhyve
vm_enable="YES"
vm_dir="zfs:zroot/usr/home/vm"
# Kafka Broker on 'localhost'
kafka_enable="YES"
kafka_user="kafka"
# Zookeeper
zookeeper_enable="YES"
# My Services
fake_service_enable="YES"
# Automount service
autofs_enable="YES"
dnsmasq_enable="YES"
#ftpproxy_enabled="YES"
mosquitto_enable="YES"
## VirtualBox
## Bridging Support
## For bridged networking
vboxnet_enable="YES"
nginx_enable="YES"