StarWind Software
Technical Reference Series
StarWind iSCSI SAN Software: IP Security policy
configuration
[Link]
Copyright © StarWind Software 2008-2009. All rights reserved.
StarWind Software
Technical Reference Series
COPYRIGHT
Copyright © StarWind Software 2008-2009. All rights reserved. No part of this
publication may be reproduced, stored in a retrieval system, or transmitted in any
form or by any means, electronic, mechanical, photocopying, recording or otherwise,
without the prior written consent of StarWind Software.
TRADEMARKS
“StarWind”, “StarWind Software” and the StarWind and the StarWind Software logos
are trademarks of StarWind Software which may be registered in some jurisdictions.
All other trademarks are owned by their respective owners.
CHANGES
The material in this document is for information only and is subject to change without
notice. While reasonable efforts have been made in the preparation of this document
to assure its accuracy, StarWind Software assumes no liability resulting from errors or
omissions in this document, or from the use of the information contained herein.
StarWind Software reserves the right to make changes in the product design without
reservation and without notification to its users.
TECHNICAL SUPPORT AND SERVICES
If you have questions about installing or using this software, check this and other
documents first - you will find answers to most of your questions here or there. If you
need further assistance, please contact us.
StarWind Software
Technical Reference Series
Table of Contents
Introduction....................................................................................................... 4
Configuring.......................................................................................................
iSCSI Storage 5
Server-Side Configuration, Creating New Ip Security
Policy ....................................................................................................... 13
Client-Side Configuration, Creatng New Ip Security
Policy ....................................................................................................... 37
Connecting.......................................................................................................
to the Target Using MS iSCSI Initiator 58
Conclusion....................................................................................................... 63
Copyright © StarWind Software 2008-2009. All rights reserved.
3
StarWind Software
Technical Reference Series
Guide
Introduction
This document will help you to configure the IP security policy on Windows
2003 Server for achieving secure connection between Target and Initiator
sides. The diagram below illustrates the reference configuration used
throughout this document.
Copyright © StarWind Software 2008-2009. All rights reserved.
4
StarWind Software
Technical Reference Series
Configuring iSCSI Storage
Launch the StarWind console selecting Start -> All Programs -> StarWind
Software -> Starwind. After the console is launched its icon appears in the
system tray. Double click the icon with the left mouse button or single click it
with the right mouse button and select Start Management menu item from
the pop-up menu.
From the StarWind Servers tree please select the server you want to connect
to. Press Connect button to continue. You will be prompted to enter the login
and password. Default ones are: root, starwind. You can always change them
later.
After you have successfully connected to the StarWind service press the Add
Target button to continue.
In the wizard that appears please specify target name. Under this target
name, the device will be declared to the iSCSI initiators connecting to the
StarWind over an IP network.
Copyright © StarWind Software 2008-2009. All rights reserved.
5
StarWind Software
Technical Reference Series
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
6
StarWind Software
Technical Reference Series
Select Image File device.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
7
StarWind Software
Technical Reference Series
Select Create new virtual disk to create a new hard disk image or Mount
existing virtual disk to mount an existing image that you’ve prepared before.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
8
StarWind Software
Technical Reference Series
If you have decided to create a new virtual disk, specify the location and the
name of the virtual disj you wish to be created. The virtual disk size is specified
in megabytes. Refer to the online help for details regarding additional
parameters (Fill with zeroes, Compressed and Encrypted).
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
9
StarWind Software
Technical Reference Series
An Image File device can have additional parameters. Refer to the online help
for details regarding the additional parameters (Asynchronous mode, Allow
multiple connections (clustering), Read-Only mode and Advanced options).
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
10
StarWind Software
Technical Reference Series
Check if all of the device parameters are correct. Press the Back button if any
changes are required.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
11
StarWind Software
Technical Reference Series
The information about the recently created device is displayed on the last
wizard page (see image below).
Press the Finish button to close the wizard.
Copyright © StarWind Software 2008-2009. All rights reserved.
12
StarWind Software
Technical Reference Series
Server-Side Configuration, Creating New Ip Security Policy
Launch the Local Security Settings management console selecting Start ->
Control Panel -> Administrative tools -> Local Security Policy. Local Security
Settings management console appears. Switch to the IP Security Policies on
Local Computer tree item.
Click the right mouse button and select Create IP Security Policy option.
Copyright © StarWind Software 2008-2009. All rights reserved.
13
StarWind Software
Technical Reference Series
IP Security Policy Wizard appears.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
14
StarWind Software
Technical Reference Series
Specify the Name of the new IP Security Policy and optionally provide a brief
description of it.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
15
StarWind Software
Technical Reference Series
Uncheck the Activate the default response rule option.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
16
StarWind Software
Technical Reference Series
Set the Edit properties option.
Press the Finish button.
Copyright © StarWind Software 2008-2009. All rights reserved.
17
StarWind Software
Technical Reference Series
On the SWS IP Security Policy Properties window that appears uncheck the
Use Add Wizard option.
Press the Add button on the Rules tab.
Copyright © StarWind Software 2008-2009. All rights reserved.
18
StarWind Software
Technical Reference Series
New Rules Properties window appears.
Press the Add button on the IP Filter List tab.
Copyright © StarWind Software 2008-2009. All rights reserved.
19
StarWind Software
Technical Reference Series
IP Filter List window appears. Uncheck the Use Add Wizard option.
Specify the Name of IP Filter and optionally a brief description and press Add
button.
Copyright © StarWind Software 2008-2009. All rights reserved.
20
StarWind Software
Technical Reference Series
Filter Properties window appears.
Specify Source address and Destination address. To delimit allow connections
more strictly in the Source address field you can specify IP address of the
separate host or subnet.
Copyright © StarWind Software 2008-2009. All rights reserved.
21
StarWind Software
Technical Reference Series
Switch to the Protocol tab.
Specify protocol (TCP in our case) and port number (3261) and press OK. This
filter is for StarWind management console connections.
Copyright © StarWind Software 2008-2009. All rights reserved.
22
StarWind Software
Technical Reference Series
New rule appears in the list.
Click the Add button again.
Copyright © StarWind Software 2008-2009. All rights reserved.
23
StarWind Software
Technical Reference Series
Filter Properties window appears.
Specify Source address and Destination address.
Copyright © StarWind Software 2008-2009. All rights reserved.
24
StarWind Software
Technical Reference Series
Switch to the Protocol tab.
Specify protocol (TCP in our case) and port number (3260) and press OK. This
filter is for StarWind service connections (iSCSI traffic itself).
Copyright © StarWind Software 2008-2009. All rights reserved.
25
StarWind Software
Technical Reference Series
One more new rule appears in the list.
Press the OK button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
26
StarWind Software
Technical Reference Series
We return to the IP Filter List tab again.
Select newly created filter StarWind from the list and switch to the Filter
Action tab.
Copyright © StarWind Software 2008-2009. All rights reserved.
27
StarWind Software
Technical Reference Series
On the Filter Action tab select Require Security option from the list.
Press the Edit button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
28
StarWind Software
Technical Reference Series
Require Security Properties window appears. Select Negotiate security,
specify Security method preference order and set Accept unsecured
communication, but always respond using IPSec option.
Press the OK button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
29
StarWind Software
Technical Reference Series
Switch to the Connection Type tab.
Select All network connections.
Copyright © StarWind Software 2008-2009. All rights reserved.
30
StarWind Software
Technical Reference Series
Switch to the Tunnel Setting tab.
Select This rule does not specify an IPSec tunnel.
Copyright © StarWind Software 2008-2009. All rights reserved.
31
StarWind Software
Technical Reference Series
Switch to the Authentication Methods tab.
Press the Edit button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
32
StarWind Software
Technical Reference Series
Edit Authentication Method Properties window appears. Select Use this
string (preshared key) option and type in the preshared key in the field.
Press the OK button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
33
StarWind Software
Technical Reference Series
We return to the Authentication Methods tab.
Press the Close button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
34
StarWind Software
Technical Reference Series
Select StarWind from the list of available IP Security rules.
Press the Close button.
Copyright © StarWind Software 2008-2009. All rights reserved.
35
StarWind Software
Technical Reference Series
Assign recently created policy by pressing right mouse button and selecting
Assign option.
Copyright © StarWind Software 2008-2009. All rights reserved.
36
StarWind Software
Technical Reference Series
Client-Side Configuration, Creatng New Ip Security Policy
Launch the Local Security Settings management console selecting Start ->
Control Panel -> Administrative tools -> Local Security Policy. Local Security
Settings management console appears. Switch to the IP Security Policies on
Local Computer.
Click the right mouse button and select Create IP Security Policy option.
Copyright © StarWind Software 2008-2009. All rights reserved.
37
StarWind Software
Technical Reference Series
IP Security Policy Wizard appears.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
38
StarWind Software
Technical Reference Series
Specify the Name of the new IP Security policy and optionally provide a brief
description.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
39
StarWind Software
Technical Reference Series
Uncheck the Activate the default response rule option.
Press the Next button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
40
StarWind Software
Technical Reference Series
Set the Edit properties option.
Press the Finish button.
Copyright © StarWind Software 2008-2009. All rights reserved.
41
StarWind Software
Technical Reference Series
On the SWS IP Security Policy Properties window that appears uncheck the
Use Add Wizard option.
Press the Add button on the Rules tab.
Copyright © StarWind Software 2008-2009. All rights reserved.
42
StarWind Software
Technical Reference Series
New Rules Properties window appears.
Press the Add button on the IP Filter List tab.
Copyright © StarWind Software 2008-2009. All rights reserved.
43
StarWind Software
Technical Reference Series
IP Filter List window appears. Uncheck the Use Add Wizard option.
Specify the Name of IP Filter and optionally a brief description and press Add
button.
Copyright © StarWind Software 2008-2009. All rights reserved.
44
StarWind Software
Technical Reference Series
IP Filter Properties window appears.
Specify Source address and Destination address. Destination address is the
IP address of the StarWind server you wish to connect to.
Copyright © StarWind Software 2008-2009. All rights reserved.
45
StarWind Software
Technical Reference Series
Switch to the Protocol tab.
Specify protocol (TCP in our case) and port number (3260) and press OK. This
filter is for StarWind service connections (iSCSI traffic itself).
Copyright © StarWind Software 2008-2009. All rights reserved.
46
StarWind Software
Technical Reference Series
New rule appears in the list.
Press the OK button.
Copyright © StarWind Software 2008-2009. All rights reserved.
47
StarWind Software
Technical Reference Series
We return to the IP Filter List tab again.
Select newly created filter MS iSCSI Initiator from the list and switch to the
Filter Action tab.
Copyright © StarWind Software 2008-2009. All rights reserved.
48
StarWind Software
Technical Reference Series
On the Filter Action tab select Require Security option from the list.
Press the Edit button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
49
StarWind Software
Technical Reference Series
Require Security Properties window appears. Select Negotiate security,
specify Security method preference order and set Accept unsecured
communication, but always respond using IPSec option.
Press the OK button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
50
StarWind Software
Technical Reference Series
Switch to the Connection Type tab.
Select All network connections.
Copyright © StarWind Software 2008-2009. All rights reserved.
51
StarWind Software
Technical Reference Series
Switch to the Tunnel Setting tab.
Select This rule does not specify an IPSec tunnel.
Copyright © StarWind Software 2008-2009. All rights reserved.
52
StarWind Software
Technical Reference Series
Switch to the Authentication Methods tab.
Press the Edit button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
53
StarWind Software
Technical Reference Series
Edit Authentication Method Properties window appears. Select Use this
string (preshared key) option and type in the preshared key in the field (the
same one as in StarWind IPSec policy).
Press the OK button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
54
StarWind Software
Technical Reference Series
We return to the Authentication Methods tab.
Press the Close button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
55
StarWind Software
Technical Reference Series
Select MS iSCSI Initiator from the list of available IP Security rules.
Press the OK button.
Copyright © StarWind Software 2008-2009. All rights reserved.
56
StarWind Software
Technical Reference Series
Assign recently created policy by pressing right mouse button and selecting
Assign option.
Copyright © StarWind Software 2008-2009. All rights reserved.
57
StarWind Software
Technical Reference Series
Connecting to the Target Using MS iSCSI Initiator
Launch the MS iSCSI Initiator by selecting Start -> All Programs -> Microsoft
iSCSI Initiator -> Microsoft iSCSI Initiator. Switch to the Discovery tab. Here
you can specify the computer with the StarWind installed or iSNS server.
Press the Add button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
58
StarWind Software
Technical Reference Series
In the appearing dialog type in the IP address of the computer with StarWind
installed and port of that machine
Press the OK button to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
59
StarWind Software
Technical Reference Series
Switch to the Targets tab.
Select the device you have recently shared and press Log On to continue.
Copyright © StarWind Software 2008-2009. All rights reserved.
60
StarWind Software
Technical Reference Series
Log On to Target dialog appears.
Check any additional parameters of the target you wish to connect. For
example Automatically restore this connection when the system boots
checkbox.
Press the OK button to logon to the StarWind.
Copyright © StarWind Software 2008-2009. All rights reserved.
61
StarWind Software
Technical Reference Series
The information about the connection status is displayed on the Targets tab
(see the image below). If the logon is successful the new iSCSI device will
appear in the system after a few seconds.
Press the OK button to exit initiator management console.
Copyright © StarWind Software 2008-2009. All rights reserved.
62
StarWind Software
Technical Reference Series
Conclusion
Copyright © StarWind Software 2008-2009. All rights reserved.
63
StarWind Software
Technical Reference Series
Contacts
Support: [Link]/support
Support Forum: [Link]/forums
Sales E-mail: sales@[Link]
US Headquarters
Phone: 617-449-7717
Fax: 617-505-5845
EMEA: 1-888-532-2203
StarWind Software Inc.
40 Mall Rd., Burlington
MA 01803, USA
[Link]
Copyright © StarWind Software 2008-2009. All rights reserved.