Skip header
ContentsPreviousNextHelp

Specifying IPsec Settings on the Computer

Specify exactly the same settings for IPsec SA settings on your computer as are specified for the IPsec Settings on the machine. Setting methods differ according to the computer's operating system. The following procedure is based on Windows XP in an IPv4 environment as an example.

  1. On the [Start] menu, click [Control Panel], [Performance and Maintenance], and then click [Administrative Tools].

  2. Double-click [Local Security Policy].

  3. Click [IP Security Policies on Local Computer].

  4. In the "Action" menu, click [Create IP Security Policy].

    The IP Security Policy Wizard appears.

  5. Click [Next].

  6. Enter a security policy name in "Name", and then click [Next].

  7. Clear the "Activate the default response rule" check box, and then click [Next].

  8. Select "Edit properties", and then click [Finish].

  9. In the "General" tab, click [Advanced].

  10. In "Authenticate and generate a new key after every", enter the same validity period (in minutes) that is specified on the machine in [IKE Life Time], and then click [Methods].

  11. Confirm that the Encryption Algorithm ("Encryption"), Hash Algorithm ("Integrity"), and IKE Diffie-Hellman Group ("Diffie-Hellman Group") settings in "Security method preference order" all match those specified on the machine in [IKE Settings].

    If the settings are not displayed, click [Add].

  12. Click [OK] twice.

  13. Click [Add] in the "Rules" tab.

    The Security Rule Wizard appears.

  14. Click [Next].

  15. Select "This rule does not specify a tunnel", and then click [Next].

  16. Select the type of network for IPsec, and then click [Next].

  17. Select "Use this string to protect the key exchange (preshared key)", and then enter the same PSK text specified on the machine with the pre-shared key.

  18. Click [Next].

  19. Click [Add] in the IP Filter List.

  20. In [Name], enter an IP Filter name, and then click [Add].

    The IP Filter Wizard appears.

  21. Click [Next].

  22. Select "My IP Address" in "Source address", and then click [Next].

  23. Select "A specific IP Address" in "Destination address", enter the machine's IP address, and then click [Next].

  24. For the IPsec protocol type, select "Any", and then click [Next].

  25. Click [Finish].

  26. Click [OK].

  27. Select the IP filter that you have just created, and then click [Next].

  28. Select the IPsec security filter, and then click [Edit].

  29. In the "Security Methods" tab, check "Negotiate security" and then click [Add].

  30. Select "Custom" and click [Settings].

  31. When [ESP] is selected for the machine in [Security Protocol] under [IPsec Settings], select [Data integrity and encryption (ESP)], and configure the following settings:

    Set the value of [Integrity algorithm] to the same value as the [Authentication Algorithm for ESP] specified on the machine.

    Set the value of [Encryption algorithm] to the same value as the [Encryption Algorithm for ESP] specified on the machine.

  32. When [AH] is selected for the machine in [Security Protocol] under [IPsec Settings], select [Data and address integrity without encryption (AH)], and configure the following settings:

    Set the value of [Integrity algorithm] to the same value as the [Authentication Algorithm for AH] specified on the machine.

    Clear the [Data integrity and encryption (ESP)] check box.

  33. When [ESP&AH] is selected for the machine in [Security Protocol] under [IPsec Settings], select [Data and address integrity without encryption (AH)], and configure the following settings:

    Set the value of [Integrity algorithm] under [Data and address integrity without encryption (AH)] to the same value as [Authentication Algorithm for AH] specified on the machine.

    Set the value of [Encryption algorithm] under [Data integrity and encryption (ESP)] to the same value as [Encryption Algorithm for ESP] specified on the machine.

  34. In the Session key settings, select "Generate a new key every", and enter the same validity period (in seconds or Kbytes) as that specified for [Life Time] on the machine.

  35. Click [OK] three times.

  36. Click [Next].

  37. Click [Finish].

    If you are using IPv6 under Windows Vista or a newer version of Windows, you must repeat this procedure from step 13 and specify ICMPv6 as an exception. When you reach step 24, select [58] as the protocol number for the "Other" target protocol type, and then set [Negotiate security] to [Permit].

  38. Click [OK].

  39. Click [Close].

    The new IP security policy (IPsec settings) is specified.

  40. Select the security policy that you have just created, right click on it, and then click [Assign].

    IPsec settings on the computer are enabled.

Note