Samba is used for file and printer sharing. Since you do not have active directory, it is easy to setup workgroup kind of stuff. FreeBSD can act as Fileserver, Proxy, Firewall and Internet sharing server. The best way to learn is official FreeBSD handbook,