119 lines
2.9 KiB
Plaintext
119 lines
2.9 KiB
Plaintext
zfs_enable="YES"
|
|
|
|
kld_list="nmdm vmm ipfw ipdivert linux64"
|
|
|
|
# Do not mark to autodetach otherwise ZFS gets very unhappy.
|
|
geli_autodetach="NO"
|
|
|
|
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
|
|
#dumpdev="/dev/ada2p3"
|
|
dumpdev="NO"
|
|
dumpdir="/var/crash"
|
|
savecore_enable="YES"
|
|
|
|
# Turbo boost
|
|
performance_cpu_freq="HIGH"
|
|
|
|
ntpd_sync_on_start="YES"
|
|
ntpd_enable="YES"
|
|
|
|
powerd_enable="YES"
|
|
powerd_flags="-a hiadaptive -n hiadaptive -m 2500 -M 3300"
|
|
|
|
smartd_enable="YES"
|
|
nut_enable="YES"
|
|
|
|
#dbus_enable="YES"
|
|
|
|
firewall_enable="YES"
|
|
firewall_type="open"
|
|
firewall_logging="YES"
|
|
firewall_logif="YES"
|
|
|
|
# interfaces
|
|
cloned_interfaces_sticky="YES"
|
|
cloned_interfaces="lagg0 bridge1 bridge2 bridge5 bridge9 bridge10 bridge48"
|
|
|
|
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 up"
|
|
ifconfig_igb0="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
|
|
ifconfig_igb1="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
|
|
|
|
vlans_lagg0="1 2 5 9 10 48"
|
|
|
|
ipv6_activate_all_interfaces="YES"
|
|
rtsold_enable="YES"
|
|
|
|
ifconfig_lagg0_1="inet 192.168.0.10/24"
|
|
ifconfig_lagg0_1_ipv6="inet6 fd01::10/64 auto_linklocal accept_rtadv"
|
|
ifconfig_lagg0_2="inet 192.168.1.10/24"
|
|
ifconfig_lagg0_2_ipv6="inet6 fd02::10/64 auto_linklocal accept_rtadv"
|
|
ifconfig_lagg0_5="inet 192.168.2.10/24"
|
|
ifconfig_lagg0_5_ipv6="inet6 fd05::10/64 auto_linklocal accept_rtadv"
|
|
ifconfig_lagg0_9="inet 192.168.200.10/24"
|
|
ifconfig_lagg0_9_ipv6="inet6 fd09::10/64 auto_linklocal accept_rtadv"
|
|
ifconfig_lagg0_10="inet 192.168.10.10/24"
|
|
ifconfig_lagg0_10_ipv6="inet6 fd0a::10/64 auto_linklocal accept_rtadv"
|
|
ifconfig_lagg0_48="inet 192.168.48.10/24"
|
|
ifconfig_lagg0_48_ipv6="inet6 2001:470:f835::10/64 auto_linklocal accept_rtadv"
|
|
|
|
ifconfig_bridge1="addm lagg0.1 up"
|
|
ifconfig_bridge2="addm lagg0.2 up"
|
|
ifconfig_bridge5="addm lagg0.5 up"
|
|
ifconfig_bridge9="addm lagg0.9 up"
|
|
ifconfig_bridge10="addm lagg0.10 up"
|
|
ifconfig_bridge48="addm lagg0.48 up"
|
|
|
|
# adding IP to bridges does not work
|
|
#ifconfig_bridge1="inet 192.168.0.10/24"
|
|
#ifconfig_bridge1_ipv6="inet6 fd01::10/64 auto_linklocal accept_rtadv"
|
|
|
|
defaultrouter="192.168.0.5"
|
|
ipv6_defaultrouter="fd01::5"
|
|
# interfaces
|
|
|
|
hostname="nas.ahlawat.com"
|
|
|
|
syslogd_enable="YES"
|
|
syslogd_flags="-C -O rfc5424 -ss"
|
|
|
|
syslog_ng_enable="NO"
|
|
syslog_ng_config="-u daemon"
|
|
syslog_ng_pid="/var/run/syslog-ng.pid"
|
|
|
|
sendmail_enable="NO"
|
|
sendmail_outbound_enable="NO"
|
|
sendmail_submit_enable="YES"
|
|
sendmail_msp_queue_enable="YES"
|
|
|
|
sshd_enable="YES"
|
|
|
|
iocage_enable="YES"
|
|
|
|
devfs_system_ruleset="usbrules"
|
|
|
|
node_exporter_enable="YES"
|
|
node_exporter_args=--collector.filesystem.ignored-mount-points="/mnt/iocage*"
|
|
gstat_exporter_enable="YES"
|
|
|
|
# modify hard disk cam queues
|
|
cam_tag_enable="YES"
|
|
|
|
# debian jail
|
|
linux_enable="YES"
|
|
|
|
nfs_server_enable="YES"
|
|
nfsv4_server_enable="YES"
|
|
nfsuserd_enable="YES"
|
|
|
|
mountd_enable="YES"
|
|
mountd_flags="-r"
|
|
|
|
rpcbind_enable="YES"
|
|
rpc_lockd_enable="YES"
|
|
rpc_statd_enable="YES"
|
|
|
|
tftpd_enable="YES"
|
|
tftpd_flags="-s /mnt/ship/pxe"
|
|
|
|
ctld_enable="YES"
|