Some of the issues I’ve stumbled with, on FreeNAS.
pkg was erroring with a “pkg: file:///usr/ports/packages/meta.txz: No such file or directory”
This can be fixed by editing the configuration files in /usr/local/etc/pkg/repos/, setting toggling the “enabled” parameter to “no” for local.conf and to “yes” for FreeBSD.conf.
Reference: Fix pkg on FreeNAS 11.2
Setting up Windows shares
Good video here from FreeNAS
Improving network file transfers
Set the MTU value in Network/Interfaces to a large value
Other references:
Samba and ntlm for Windows clients
Using pkg for Binary Package Management
FreeBSD Ports Collection Index