HP-UX IPSec Configuration Examples

Example 3: Host to Gateway

Tunnel IPSec Policy

The end source address specification for the tunnel IPSec policy is 17.0.0.0/8, so this tunnel IPSec policy can be used for host policies to other nodes in the 17.*.*.* network.

add tunnel torouter \ -src 15.5.5.5 \ -dst 17.0.0.0/8 \ -tsrc 15.5.5.5 \ -tdst 16.6.6.6 \

-action ESP_DES_HMAC_MD5

IKE Policy

The router in this topology uses Oakley group (Diffie-Hellman group) 1 and DES encryption for IKE parameters. These parameter values differ from the HP-UX IPSec defaults, so you must set them in the IKE policy.

add ike torouter -rem 16.6.6.6 \ -pri 50 -auth psk -g 1 -enc DES

Authentication Record

add auth torouter -rem 16.6.6.6 -psk Hello

Appendix C

303