You have a system, Carrot, on a LAN with
the network address 192.1.1.*. You want to limit access to this
LAN from outside nodes.
There is one system outside the LAN with IPSec, Potato,
that you will allow to communicate with the nodes in your network
using AES with SHA1. All other packets from external nodes will
be discarded.
All nodes within the LAN have HP-UX IPSec installed, except
for internal routers. You want encrypted ESP (AES with SHA1) for
all IP packets between the nodes on this LAN, except ICMP packets
to and from the routers, which you will allow to pass in clear text.
Except for the above specifications, you will use the default
values for most parameters (such as Security Association Lifetimes).
Carrot
IPSec Policies |
 |
You configure four IPSec policies on Carrot.
potato: accepts all packets to and from system Potato
using ESP-AES-HMAC-SHA1.
pass_icmp: allows all ICMP packets within the 192.1.1.*
network to pass in clear text. Notice how the 192.1.1.* network
is specified in the filter: the remote IP address is 192.1.1.0 and
the prefix length is 24.The prefix length specifies the number of
bits in the packet address that must match the configured remote
IP address, beginning with the most significant bit.
aes_lan: applies ESP-AES-HMAC-SHA1 authenticated ESP to
all packets in the 192.1.1.* network.
default: discards all other packets.
Note the order of the pass_icmp and aes_lan policies. The pass_icmp policy MUST have a lower order number (higher
priority) than the aes_lan policy. This is because internal ICMP packets
will match both the pass_icmp and aes_lan policy, and assigning the pass_icmp policy a lower order number causes IPSec to select
the pass_icmp policy for the ICMP packets instead of the aes_lan policy.
You modify the default IPSec policy to discard all packets, since it
will only be used for packets from outside your network other than
packets from Potato.
Since there are several remote nodes that you will need to
authenticate for IKE, you may want to use certificate-based authentication
(RSA signatures) instead of preshared keys for IKE. This would require
you to install a Public Key Infrastructure (PKI) product from a
third-party vendor, but would eliminate the need to configure a
preshared key for each other remote IPSec node in the network. It
may be difficult to use a PKI with the external system, Potato,
so you could configure IPSec to use preshared keys for Potato, and
RSA signatures for all other IPSec nodes. To do this, you would
configure two ISAKMP policies: one using preshared keys (isakmp_preshared_keys, for example), and one using RSA signatures (isakmp_rsa, for example). You would specify the name of the
ISAKMP preshared keys policy (isakmp_preshared_keys) in the potato IPSec policy, and specify the name of the ISAKMP
RSA signatures policy (isakmp_rsa) in the aes_lan policy.
If you are not using RSA signatures for IKE authentication,
you must configure a preshared key for each remote IPSec system.
Each remote system must configure a preshared key for the system
Carrot.