Configuring HP-UX IPSec

Step 3: Configuring IKE Policies

If you are configuring the first IKE policy and do not specify a priority argument, ipsec_config assigns the automatic priority increment value as the priority.

ipsec_config add ike Syntax

You can use the following ipsec_config add ike syntax in most installations:

ipsec_config add ike ike_policy_name

-remote ip_addr[/prefix] [-priority priority_number] [-authentication PSKRSASIG]

[-hash MD5SHA1] [-encryption DES3DES]

[-lifelifetime_seconds] [-maxqmmqmax_quick_modes]

HP recommends that you use an ipsec_config batch file to configure HP-UX IPSec. To specify an add ike operation for an ipsec_config batch file, use the above syntax without the ipsec_config command name:

add ike ike_policy_name

-remote ip_addr[/prefix] [-priority priority_number] [-authentication PSKRSASIG]

[-hash MD5SHA1] [-encryption DES3DES]

[-lifelifetime_seconds] [-maxqmmqmax_quick_modes]

The full ipsec_config add ike syntax specification also allows you to specify the following arguments:

nocommit (verify the syntax but do not commit the information to the database)

profile (alternate profile file)

Refer to the ipsec_config (1M) manpage for full syntax information.

ike_policy_name

The ike_policy_name is the user-defined name for the IKE policy. This name must be unique for each IKE policy and is case-sensitive.

Acceptable Values: 1 - 63 characters. Each character must be an ASCII

alphanumeric character, hyphen (-), or underscore (_).

90

Chapter 3