The FreeNAS team has released a tutorial showing you how to set up AFP, NFS, and CIFS shares on FreeNAS In addition, there is a section about setting up Time Machine via AFP. Go ahead and hit play below to learn:

Check out the official FreeNAS channel for more videos: