Handbook Page ID 117

Using FreeNAS as Sharing Gateway for SharePlug

FreeNAS (http://freenas.org) is an OS for NAS (Network-Attached Storage) servers. It's based on FreeBSD (http://freebsd.org) and supports wide variety of network protocols such as CIFS/SMB, FTP, NFS and iSCSI. It also supports SSH. Hence, if you have a FreeNAS based NAS server, you can also use it with SharePlug as a sharing gateway server.

Enable SSH


(You must select "TCP forwarding" option.)

Add users

When you first install FreeNAS and enable SSH, you only have one SSH user account, "root". Although you can select "Permit root login" option and use it for accessing SSH, we highly recommend creating a separate account for security reasons.



Add host name entries

FreeNAS cannot resolve NetBIOS computer names commonly used for computers with Windows OS. Hence, if you wish to access one of your Windows computers via SSH on FreeNAS, you need to add its IP address info to "Hostname database".


If you wish to directly access the shared folders on FreeNAS, you should also add the hostname of your FreeNAS server to the database with an IP address 127.0.0.1.

If you're using DHCP for assigning IP addresses, please note that the assigned IP can be changed depending on the configuration of your DHCP server. So, before adding an IP to FreeNAS hostname database, check your DHCP server settings and enable an option that makes the IP assignment static.