![Black Box LS1016A Скачать руководство пользователя страница 386](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435386.webp)
Appendix G - IPSEC
386
BLACK BOX
®
Advanced Console Server
Generating an RSA key pair
The Console Server doesn't have an RSA key pair by default. If you would like to create one,
you can simply uncomment the lines regarding IPsec in the file /etc/rc.sysinit. Your key pair
will then be generated in the next boot. You also can generate your key pair by issuing the fol-
lowing commands as root:
. ipsec newhostkey --bits <key length> --output /etc/ipsec.secrets
. chmod 600 /etc/ipsec.secrets
Key generation may take some time. In addition,, the Console Server needs a lot of random
numbers, and therefore needs and uses traffic on the Ethernet port to generate them.
Extracting authentication keys
Once your gateway's key is in ipsec.secrets, the next step is to send your public key to every-
one you need to set up connections with and collect their public keys. You need to extract
the public part in a suitable format. This is done with the ipsec_showhostkey command:
ipsec showhostkey --left
ipsec showhostkey --right
These two produce the key formatted for insertion in an ipsec.conf file. Public keys need not
be protected as fanatically as private keys. They are intended to be made public; the system is
designed to work even if an enemy knows all the public keys used. You can safely make them
publicly accessible. For example, put a gateway key on a Web page or make in available in
DNS, or transmit it via an insecure method such as email.
Debugging Commands
IPsec look
The output of ipsec appears as shown below:
[root@henrique root]# ipsec look
henrique Mon Oct 28 16:40:24 PST 2002
64.186.161.96/32 -> 64.186.161.128/32 => [email protected]
Содержание LS1016A
Страница 12: ...Table of Contents 12 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 30: ...Introduction and Overview 30 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 282: ...Time Zone 282 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 406: ...Appendix H Web User Management 406 BLACK BOX Advanced Console Server Figure 43 Access Limit List default page ...
Страница 414: ...Appendix H Web User Management 414 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 439: ...List of Figures User Guide 439 47 Terminal Server diagram 422 48 Ports configured for Dial in Access 424 ...
Страница 440: ...List of Figures 440 BLACK BOX Advanced Console Server This page has been left intentionally blank ...
Страница 449: ...This page has been left intentionally blank ...