47
Configuring Windows 2000/XP IPsec for Site-to-Site VPN November 2002 Copyright © 2002 SofaWare Technologies Inc, All Rights Reserved. Reproduction, adaptation, or translation with prior written permission is prohibited except as allowed under copyright laws.

Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Embed Size (px)

Citation preview

Page 1: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP IPsec for Site-to-Site VPN

November 2002

Copyright © 2002 SofaWare Technologies Inc, All Rights Reserved. Reproduction, adaptation, or translation with prior written permission is prohibited except as allowed under copyright laws.

Page 2: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Introduction

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 1

Introduction This document explains how to configure Microsoft Windows 2000, Windows 2000 Server, and Windows XP IPsec for the Site-to-Site VPN solutions.

Figure 1 shows a sample implementation of this solution, in which a Safe@Office appliance is connected to a Windows machine in a Site-to-Site VPN.

Figure 1: Safe@Office to Windows 2000/XP IPsec (Site-to-Site VPN)

Scenarios

This document provides solutions for the following four scenarios:

Windows Gateway to Safe@Office in Unrestricted Mode

Traffic is encrypted between the gateways’ subnets (Network A to Network B).

Windows Gateway to Safe@Office in Restricted Mode

Traffic is encrypted between the network behind the Windows gateway and the Safe@Office WAN IP address (Network A to Safe@Office external IP).

Windows Host to Safe@Office in Unrestricted Mode

Traffic is encrypted between the Windows host and the Safe@Office internal network (Windows machine to Network B).

Windows Host to Safe@Office in Restricted Mode

Traffic is encrypted between the Windows host and the Safe@Office WAN IP address (Windows machine to Safe@Office external IP).

Page 3: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

2 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

Note: For all the scenarios above, the configuration of the Windows machine is identical, except for the Filter Properties configuration. For further information, see pages 11 and 16.

Important: Both the Safe@ gateway and Windows machine must be configured with a static IP address. DHCP mode in the Windows machine may not work properly.

Contacting Technical Support

To contact technical support, send an email to: [email protected]

Configuring Windows 2000/XP

Note: The screens shown below appear in both Windows 2000 and XP.

Note: The IP addresses in Figure 1, page 1, appear in the screens below as an example.

Important: Additional security software installed on the Windows machine, (for example Check Point SecuRemote), may prevent the tunnel from working properly.

To configure Windows 2000/XP for Site-to-Site VPN

1. Create an IP security policy by doing the following:

a. Open the Windows Control Panel.

b. In the Administrative Tools menu, click Local Security Policy.

The Local Security Settings window opens.

Page 4: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 3

c. Double-click on IP Security Policies On Local Machine.

The IP security policies on the local machine are displayed in the right-hand pane.

Page 5: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

4 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

d. In the Action menu, click Create IP Security Policy.

The IP Security Policy Wizard opens with the Welcome to the IP Security Policy wizard dialog box displayed.

e. Click Next.

The IP Security Policy Name dialog box appears.

Page 6: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 5

f. In the Name field, enter the policy’s name. In the example above, the policy’s name is “New_Policy”.

g. Click Next.

The Requests for Secure Communication dialog box appears.

h. Clear the Activate the default response rule check box.

i. Click Next.

The Completing the IP Security Policy Wizard dialog box appears.

Page 7: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

6 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

j. Clear the Edit properties check box.

k. Click Finish.

The new policy appears in the Local Security Settings window.

2. Double-click on the new policy.

The Properties dialog box appears, with the Rules tab displayed.

Page 8: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 7

3. Clear the Use Add Wizard check box.

4. Click Add….

The New Rule Properties dialog box appears, with the IP Filter List tab displayed.

Page 9: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

8 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

5. Create an A to B IP filter for the security policy, by doing the following:

a. Click Add.…

The IP Filter List dialog box appears.

Page 10: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 9

b. In the Name field, type “A to B”.

c. Clear the Use Add Wizard check box.

d. Click Add.…

The Filter Properties dialog box appears, with the Addressing tab displayed.

Page 11: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

10 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

e. Select one of the following filters:

Page 12: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 11

Windows Gateway to Safe@Office, Unrestricted Mode Windows Host to Safe@Office, Unrestricted Mode

Windows Host to Safe@Office, Restricted Mode Windows Gateway to Safe@Office, Restricted Mode

Page 13: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

12 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

f. Clear the Mirrored check box.

g. Click on the Description tab.

The Description tab is displayed.

h. If desired, in the Description area, type a description of the filter.

i. Click OK.

The New Rule Properties dialog box reappears, with the IP Filter List displayed. The new filter appears in the IP Filter Lists area.

Page 14: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 13

6. Create a B to A IP filter for the security policy, by doing the following:

a. Click Add.…

The IP Filter List dialog box appears.

Page 15: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

14 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

b. In the Name field, type “B to A”.

c. Clear the Use Add Wizard check box.

d. Click Add.…

The Filter Properties dialog box appears, with the Addressing tab displayed.

Page 16: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 15

e. Select one of the following filters:

Page 17: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

16 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

Windows Gateway to Safe@Office, Unrestricted Mode Windows Host to Safe@Office, Unrestricted Mode

Windows Host to Safe@Office, Restricted Mode Windows Gateway to Safe@Office, Restricted Mode

Page 18: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 17

f. Clear the Mirrored check box.

g. Click on the Description tab.

The Description tab is displayed.

h. If desired, in the Description area, type a description of the filter.

i. Click OK.

The New Rule Properties dialog box reappears, with the IP Filter List displayed. The new filter appears in the IP Filter Lists area.

7. In the IP Filter Lists area, click A to B.

Page 19: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

18 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

8. Set the filter action for the A to B IP filter, by doing the following:

a. Click the Filter Action tab.

The Filter Action tab is displayed.

Page 20: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 19

b. Clear the Use Add Wizard check box.

c. Click Add….

The New Filter Action Properties dialog box appears, with the Security Methods tab displayed.

Page 21: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

20 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

Do the following:

1) Click Negotiate Security.

2) Clear the Accept unsecured communications, but always respond using IPsec check box.

3) Clear the Allow unsecured communications with non IPsec-aware computer check box.

4) Click Add….

The New Security Method dialog box appears, with the Security Method tab displayed.

Page 22: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 21

d. Click Custom.

e. Click Settings….

The Custom Security Method Settings dialog box appears.

Page 23: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

22 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

Do the following:

1) Clear the Data and address integrity without encryption (AH) check box.

2) Select the Data integrity and encryption (ESP) check box.

3) From the Integrity Algorithm drop-down list, select SHA1.

4) From Encryption Algorithm drop-down list, select 3DES.

5) In the Session Key Settings area, clear all check boxes.

6) Click OK.

The New Filter Action Properties dialog box reappears, with the Security Methods tab displayed. The new security method is listed in the Security Method preference order area.

Page 24: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 23

f. Click the General tab.

The General tab is displayed.

Page 25: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

24 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

g. In the Name field, type Encrypt.

h. Click OK.

The New Rule Properties dialog box reappears, with the Filter Action tab displayed. The Encrypt action is listed in the Filter Actions area.

Page 26: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 25

i. In the Filter Actions area, click Encrypt.

Page 27: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

26 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

j. Click the Authentication Methods tab.

The Authentication Methods tab is displayed.

Page 28: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 27

k. Click Add….

The New Authentication Method Properties dialog box appears, with the Authentication Method tab displayed.

Page 29: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

28 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

Do the following:

1) Click Use this string to protect the key exchange (preshared key).

2) In the text box, type the preshared key.

Note: Use this preshared key as the Preshared Secret password, when you create the tunnel from the Safe@ gateway to the Windows machine.

3) Click OK.

The New Rule Properties dialog box reappears, with the Authentication Methods tab displayed. The new authentication method (“Preshared Key”) is listed in the Authentication Method preference order area.

Page 30: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 29

l. Select Kerberos.

m. Click Remove.

A confirmation message appears.

n. Click Yes.

The Kerberos method is deleted from the Authentication Method preference order area.

Page 31: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

30 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

o. Click on the Tunnel Settings tab.

The Tunnel Settings tab is displayed.

Page 32: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 31

p. Click The tunnel endpoint is specified by this IP Address.

q. In the text box, type the Safe@ gateway’s IP address.

r. Click on the Connection Type tab.

The Connection Type tab is displayed.

Page 33: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

32 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

s. Click All network connections.

t. Click Close.

Page 34: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 33

9. Set the filter action for the B to A IP filter, by doing the following:

a. Click Add….

The New Rule Properties dialog box appears, with the IP Filter List tab displayed.

Page 35: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

34 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

b. In the IP Filter Lists area, click B to A.

Page 36: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 35

c. Click the Filter Action tab.

The Filter Action tab is displayed.

Page 37: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

36 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

d. In the Filter Actions area, click Encrypt.

Page 38: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 37

e. Click the Authentication Methods tab.

The Authentication Methods tab is displayed.

Page 39: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

38 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

f. Click Add….

The New Authentication Method Properties dialog box appears, with the Authentication Method tab displayed.

Page 40: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 39

Do the following:

1) Click Use this string to protect the key exchange (preshared key).

2) In the text box, type the preshared key.

Note: Use this preshared key as the Preshared Secret password, when you create the tunnel from the Safe@ gateway to the Windows machine.

3) Click OK.

The New Rule Properties dialog box reappears, with the Authentication Methods tab displayed. The new authentication method (“Preshared Key”) is listed in the Authentication Method preference order area.

Page 41: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

40 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

g. Select Kerberos.

h. Click Remove.

A confirmation message appears.

i. Click Yes.

The Kerberos method is deleted from the Authentication Method preference order area.

Page 42: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 41

j. Click on the Tunnel Settings tab.

The Tunnel Settings tab is displayed.

Page 43: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

42 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

k. Click The tunnel endpoint is specified by this IP Address.

l. In the text box, type the Windows machine’s IP address.

m. Click on the Connection Type tab.

The Connection Type tab is displayed.

Page 44: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 43

n. Click All network connections.

o. Click Close.

The Properties dialog box reappears, with the Rules tab displayed. The B to A filter and its action is listed in the IP Security Rules area.

Page 45: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

44 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

10. Click Close.

The Local Area Settings window reappears.

Page 46: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring Windows 2000/XP

Configuring Windows 2000/XP IPsec for Site-to-Site VPNs 45

11. Right-click on the new IP security policy.

Page 47: Configuring Windows 2000/XP IPsec for Site-to-Site VPN

Configuring the Safe@Office Appliance

46 Configuring Windows 2000/XP IPsec for Site-to-Site VPNs

12. From the pop-up menu, select Assign.

The new security policy is assigned to the network adapter.

Configuring the Safe@Office Appliance You must create the VPN profile in Safe@ Office. For instructions, see the SofaWare S-box Getting Started Guide, “Adding and Editing VPN Sites using SofaWare Safe@Office”, page 102.

Note: While creating the VPN profile, you must select Specify Configuration in the VPN Network Configuration dialog box. Topology download is not supported.

Note: In Restricted mode, in order to forward encrypted traffic to hosts behind the Safe@ gateway, you must define Virtual Server and/or Allow rules. You must select the VPN Only check box for those rules.