Last active
August 29, 2015 14:16
-
-
Save dronov/08e2d5842a34fcd8c50d to your computer and use it in GitHub Desktop.
sample rc.conf for FreeBSD 10 NAS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostname="awesome-host" | |
ifconfig_re0="DHCP" | |
sshd_enable="YES" | |
ntpd_enable="YES" | |
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable | |
dumpdev="AUTO" | |
#Wi-Fi | |
wlans_run0="wlan0" | |
create_args_wlan0="wlanmode hostap" | |
ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 ssid awesomewifi mode 11g channel 3" | |
hostapd_enable="YES" | |
#NFS | |
rpcbind_enable="YES" | |
nfs_server_enable="YES" | |
nfs_server_flags="-u -t -n 4" | |
mountd_flags="-r" | |
#PF settings | |
gateway_enable="YES" | |
pflog_enable="YES" | |
pf_rules="/etc/pf.conf" | |
pf_program="/sbin/pfctl" | |
pf_flags="" | |
default_router="your-provider-default-gateway" | |
#PPPoE | |
ppp_enable="YES" | |
ppp_mode="ddial" | |
ppp_profile="name-of-your-awesome-provider" | |
#Transmission | |
transmission_enable="YES" | |
transmission_conf_dir="/usr/local/etc/transmission/" | |
transmission_download_dir="/usr/home/transmission/downloads" | |
transmission_user="transmission" | |
transmission_flags="" | |
#NFS | |
rpcbind_enable="YES" | |
rpcbind_flags="-h 192.168.1.1" | |
nfs_server_enable="YES" | |
nfsv4_server_enable="YES" | |
nfs_server_flags="-u -t -n 4 -h 192.168.1.1" | |
mountd_enable="YES" | |
mountd_flags="-r" | |
#btsync | |
btsync_enable="YES" | |
#apache | |
apache24_enable="YES" | |
php_fpm_enable="YES" | |
#postgres | |
postgresql_enable="YES" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment