2020-02-25 11:28:31 -08:00
|
|
|
zfs_enable="YES"
|
|
|
|
|
2020-06-11 12:02:40 -07:00
|
|
|
kld_list="nmdm vmm ipfw ipdivert linux64"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
|
|
|
# Do not mark to autodetach otherwise ZFS gets very unhappy.
|
|
|
|
geli_autodetach="NO"
|
|
|
|
|
|
|
|
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
|
2021-04-01 01:23:14 -07:00
|
|
|
#dumpdev="/dev/ada2p3"
|
|
|
|
dumpdev="NO"
|
2020-02-25 11:28:31 -08:00
|
|
|
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"
|
|
|
|
|
2020-06-11 12:02:40 -07:00
|
|
|
firewall_enable="YES"
|
2020-02-25 11:28:31 -08:00
|
|
|
firewall_type="open"
|
|
|
|
firewall_logging="YES"
|
|
|
|
firewall_logif="YES"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
cloned_interfaces_sticky="YES"
|
2021-04-18 01:07:42 -07:00
|
|
|
cloned_interfaces="lagg0 bridge1 bridge2 bridge5 bridge9 bridge10 bridge48"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
|
|
|
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 up"
|
2021-04-01 01:23:14 -07:00
|
|
|
ifconfig_igb0="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
|
|
|
|
ifconfig_igb1="up -rxcsum -rxcsum6 -txcsum -txcsum6 -lro -tso -vlanhwtso"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
2021-04-18 01:07:42 -07:00
|
|
|
vlans_lagg0="1 2 5 9 10 48"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
|
|
|
ipv6_activate_all_interfaces="YES"
|
|
|
|
rtsold_enable="YES"
|
|
|
|
|
|
|
|
ifconfig_lagg0_1="inet 192.168.0.10/24"
|
2021-04-01 01:23:14 -07:00
|
|
|
ifconfig_lagg0_1_ipv6="inet6 fd01::10/64 auto_linklocal accept_rtadv"
|
2020-02-25 11:28:31 -08:00
|
|
|
ifconfig_lagg0_2="inet 192.168.1.10/24"
|
2021-04-01 01:23:14 -07:00
|
|
|
ifconfig_lagg0_2_ipv6="inet6 fd02::10/64 auto_linklocal accept_rtadv"
|
2020-02-25 11:28:31 -08:00
|
|
|
ifconfig_lagg0_5="inet 192.168.2.10/24"
|
2021-04-01 01:23:14 -07:00
|
|
|
ifconfig_lagg0_5_ipv6="inet6 fd05::10/64 auto_linklocal accept_rtadv"
|
2020-02-25 11:28:31 -08:00
|
|
|
ifconfig_lagg0_9="inet 192.168.200.10/24"
|
2021-04-01 01:23:14 -07:00
|
|
|
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"
|
2021-04-18 01:07:42 -07:00
|
|
|
ifconfig_lagg0_48="inet 192.168.48.10/24"
|
2021-05-06 15:19:21 -07:00
|
|
|
ifconfig_lagg0_48_ipv6="inet6 2001:470:82a9::10/64 auto_linklocal accept_rtadv"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
|
|
|
ifconfig_bridge1="addm lagg0.1 up"
|
|
|
|
ifconfig_bridge2="addm lagg0.2 up"
|
|
|
|
ifconfig_bridge5="addm lagg0.5 up"
|
|
|
|
ifconfig_bridge9="addm lagg0.9 up"
|
2021-04-01 01:23:14 -07:00
|
|
|
ifconfig_bridge10="addm lagg0.10 up"
|
2021-04-18 01:07:42 -07:00
|
|
|
ifconfig_bridge48="addm lagg0.48 up"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
2020-06-11 12:02:40 -07:00
|
|
|
# adding IP to bridges does not work
|
|
|
|
#ifconfig_bridge1="inet 192.168.0.10/24"
|
2021-04-01 01:23:14 -07:00
|
|
|
#ifconfig_bridge1_ipv6="inet6 fd01::10/64 auto_linklocal accept_rtadv"
|
2020-06-11 12:02:40 -07:00
|
|
|
|
2020-02-25 11:28:31 -08:00
|
|
|
defaultrouter="192.168.0.5"
|
2021-04-01 01:23:14 -07:00
|
|
|
ipv6_defaultrouter="fd01::5"
|
2020-02-25 11:28:31 -08:00
|
|
|
# interfaces
|
|
|
|
|
|
|
|
hostname="nas.ahlawat.com"
|
|
|
|
|
|
|
|
syslogd_enable="YES"
|
2021-04-01 01:23:14 -07:00
|
|
|
syslogd_flags="-C -O rfc5424 -ss"
|
2020-02-25 11:28:31 -08:00
|
|
|
|
|
|
|
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"
|
2020-06-11 12:02:40 -07:00
|
|
|
|
|
|
|
# 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"
|