FreeNAS 8.0 iSCSI 1 – Configuring Authorised Access

FreeNAS 8.0 iSCSI 1 – Configuring Authorised Access

Configuring Access

The first step in the configuration is to set up the Access for iSCSI by configuring the Authorised Access, Authorised Initiators, and setting up an iSCSI Portal.

Configuring Authorised Access

The first step in configuring access is to setup Authorised Access.  To configure Authorised Access for iSCSI perform the following steps :-

  • Logon to the FreeNAS Web Console as an administrative account
  • Expand Services in the left hand pane and then expand iSCSI
  • Expand the Authorized Access branch and then click on Add Authorized Access
  • In the Add Authorized Access screen leave the Group ID as 1
  • For the User field enter in the CHAP Username you wish to use
  • For the Secret field enter in the CHAP Password you wish to use and confirn it in the Secret (Confirm)  setting
  • Click on OK to create the new Authorized Access Group

Configuring Authorised Initiators

The next step in configuring access is to setup the initiators which are authorised to access iSCSI and from which network(s).

To configure Authorised Initiators for iSCSI perform the following steps :-

  • Logon to the FreeNAS Web Console as an administrative account
  • Expand Services in the left hand pane and then expand iSCSI
  • Expand the Initiators branch and then click on Add Initiator
  • In the Add Initiator screen leave the Initiators as ALL
  • For the Authorized Network setting leave it also as ALL
  • Enter a Comment for the Authorized Initiators 
  • Click on OK to create the new Authorized Initiators Group

The Authorised Initiators setup above is a very basic configuration which allows access to iSCSI from all Initiators (Clients) on all networks.  Further locking down of this can be done to allow different access from different networks for named initiators and will be explained later in an advanced article.

Configuring An iSCSI Portal

The next step in configuring access is to setup an iSCSI Portal which controls which networks iSCSI will listen on.  To configure an iSCSI Portal perform the following steps :-

  • Logon to the FreeNAS Web Console as an administrative account
  • Expand Services in the left hand pane and then expand iSCSI
  • Expand the Portals branch and then click on Add Portal
  • In the Add Portal screen leave the Portal as 0.0.0.0:3260
  • Enter a Comment for the Portal 
  • Click on OK to create the new iSCSI Portal

The iSCSI Portal seup above is again a very basic configuration which sets iSCSI up to listen on all IP Addresses on the server.  Further locking down of this can be done to configure iSCSI to listen on different IP Addresses and will be explained later in an advanced article.