These are the basic settings I use on a fresh install of FreeNAS. This is for my personal use, so some configurations may not apply to your situation. I made it public in case it helps others.
- Add Email Address to Root User
Add a valid email address to the root account for alerts and notifications.
-
General:
- Select the FreeNAS certificate.
- Check "WebGUI HTTP -> HTTPS Redirect".
- Set HTTPS port to 443.
- Change Timezone to your local timezone.
-
Advanced:
- Enable "Show Console Message".
-
Email:
- Set up Gmail SMTP using port 587 with TLS.
-
Alert Services:
- Add your email address for alert notifications.
-
SSH Connections:
- Generate SSH key pairs.
- Store the keypairs in a secure place.
- Add the public key to the desired user profile for secure SSH access.
-
Cron Jobs:
- Add a
report.sh
script to the cron job, set the schedule to0 06 2,6,11,16,21,26 * *
.
- Add a
-
SMART Tests:
- Schedule Long tests on days
1, 15
. - Schedule Short tests on days
6, 11, 21, 26
.
- Schedule Long tests on days
-
Snapshots Task:
- Not done yet.
-
Scrub Tasks:
- Set scrubs to run on days
2, 17
.
- Set scrubs to run on days
-
Global:
- Not done yet.
- Default IPv4 gateway:
10.68.69.1
. - Domain:
yourdomain.com
. - Nameservers:
1.1.1.1, 8.8.4.4, 10.68.69.1
.
-
Interfaces:
- Add igb0 interface and set to DHCP.
- Add igb1 interface and set to DHCP.
-
Unix Shares:
- Create an NFS share at
/mnt/myVol/appsNFS
. - Check "All Directories".
- Advanced settings: mapall to
root:wheel
.
- Create an NFS share at
-
Windows Shares (SMB):
- Create an SMB share for media and shares.
- Allow guest access.
- Not done yet: tighten security for SMB shares.
-
NFS Service:
- Select "Allow Non-root Mount".
- Enable NFSv4.
- Use NFSv3 ownership model for NFSv4.
-
Smart:
- Add your email for alerts.
- Set critical temperature to 41°C.
- Set temperature difference threshold to 5°C.
-
UPS:
- Select the appropriate driver.
- Set shutdown timer to 350 seconds.
- Set shutdown command to
shutdown -p now
. - Warning time set to 60 seconds.
- Add password and email address, and enable the service.
-
Enable the following services to Auto-Start:
- SMB
- NFS
- SSH
- UPS
- Fix attach boot mirror (check forum post and make issue).