How to configure anonymous access in FreeNAS

  1. Create a guest user account to be used for anonymous access in Account –>> Users –>> Add Users with the following attributes:
    • Username: guest
    • Home Directory: browse to the volume to be shared
    • check the Disable logins box
  2. Associate the guest account with the volume in Storage –>> Volumes. Expand the volume’s name then click Change Permissions. Select guest as the Owner(user) and Owner(group) and check that the permissions are appropriate for the share. If non-Windows systems will be accessing the CIFS share, leave the type of permissions as Unix. Only change the type of permissions to Windows if the share is only accessed by Windows systems.
  3. Create a CIFS share in Sharing –>> Windows (CIFS) Shares –>> Add Windows (CIFS) Share with the following attributes:
    • Name: freenas
    • Path: browse to the volume to be shared
    • check the boxes Allow Guest Access and Only Allow Guest Access
    • Hosts Allows: add the addresses which are allowed to connect to the share; acceptable formats are the network or subnet address with CIDR mask (e.g. 192.168.188.0/24) or specific host IP addresses, one address per line
  4. Configure the CIFS service in Services –>> CIFS with the following attributes:
    • Authentication Model: Anonymous
    • Guest Account: guest
    • check the boxes Allow Empty Password and Enable Home Directories
  5. Start the CIFS services in Services –> Control Services

Leave a comment