| United States-English |
|
|
|
![]() |
HP-UX IPSec version A.02.00 Administrator's Guide: HP-UX 11i version 1 and HP-UX 11i version 2 > Appendix C HP-UX IPSec Configuration ExamplesExample 1: telnet Between Two Systems |
|
You have two systems, Apple (15.1.1.1) and Banana (15.2.2.2) on a private, isolated LAN. You want to use authenticated ESP with AES encryption and SHA-1 authentication for all telnet traffic from Apple to Banana, and for all telnet traffic from Banana to Apple. By default, all other network traffic will pass in clear text.You do not have a Public Key Infrastructure, so you can use only preshared keys for ISAKMP primary authentication.
You will use the default values for most parameters, such as the Security Association Lifetimes. On Apple, you configure two host IPSec policies. The first host IPSec policy (telnetAB) is for outbound telnet requests from Apple to Banana (users on Apple using the telnet service to Banana). Note that since the telnet clients on Apple may use any non-reserved TCP port number, you do not specify a port number in the source address. The second host IPSec policy (telnetBA) is for inbound telnet requests from Banana to Apple (users on Banana using the telnet service to Apple). Since the telnet clients on Banana may use any non-reserved TCP port number, do not specify a port number in the destination address. By default, the default host IPSec policy allows all other traffic to pass in clear text. Apple and Banana are on an isolated LAN, so this “open” policy is not a security risk. The ipsec_config batch file entries are listed below: add host telnetAB \ add host telnetBA \ You configure an IKE policy, banana, to use when Apple negotiates ISAKMP/MM Security Associations (SAs) with Banana. The ipsec_config batch file entry is listed below: add ike banana -remote 15.2.2.2 -authentication psk The configuration on Banana is the mirror-image of the configuration on Apple. The administrator created the host IPSec policies by copying the host policies from Apple, changing the name and swapping the -source and -destination option names. The remote address for the IKE policy and authentication record is 15.1.1.1 (Apple’s IP address) and the preshared key matches the key configured on Apple for Banana. The ipsec_config batch file is listed below: # Host Policies add host telnetBA -destination 15.1.1.1/32/TELNET \ # IKE Policy # Auth record with preshared key |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||