This tutorial by user cmcenroe shows us how to share your files from FreeBSD to macOS with the SMB protocol. See the link below for the full set of instructions.
This is an explanation of one way of sharing files with Mac OS X 10.11 El Capitan from FreeBSD 11.0. It uses Samba, an implementation of the SMB protocol, and Apple’s mDNSResponder for service discovery. Alternatives are listed at the end.
mDNS, or multicast DNS, is a technology for resolving host names in a local network. On top of this, DNS service discovery, or DNS-SD, can be used to broadcast available services, such as SMB. This is how Finder discovers hosts to show in “Shared” or “Network.”
First, install Samba. There are two versions available in FreeBSD. This is the newer one.
pkg install samba42