The text of a manual · part 69 of 81
WS5000 Series Switch System Reference Guide: CH 12 Configuring the WS5100 WTLS VPN, pages 633 to 640
Pages 633 to 640 of 728, from WS5000 Series Switch System Reference Guide
The original document is the PDF (12 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol WS-5000
Page 633
Configuring the WS5100 WTLS VPN
12-9
12.2.4.4 Certificate configuration Table 12.4 lists and describes the CLI commands used to configure the WVPN certificate loading, generation and configuration in switch: Table 12.4 Certificate Configuration To
CLI command used enter certificate configuration
Configure wvpn cert show the server certificates
WS5000>show cert
Expected output Certificate end user names: ---------------------------server CA Certificate Serial Numbers: -------------------------------781077985 show the properties of a server certificate
WS5000.(Cfg).wvpn.cert >decode cert <Certificate number>
Expected output Certificate Information: Serial number: 1 Issuer: C=ZA; S=Western Cape; localityName=Cape Town; O=Thawte Consulting cc; OU=Certification Services Division; CN=Thawte Server CA; E=server-certs@thawte.com Subject: C=ZA; S=Western Cape; localityName=Cape Town; O=Thawte Consulting cc; OU=Certification Services Division; CN=Thawte Server CA; E=server-certs@thawte.com Valid from 838854000 to 1609459199 import a CA certificate
WS5000.(Cfg).wvpn.cert >import caCert <filename> import Server certificate
WS5000.(Cfg).wvpn.cert >import serverCert <PKCS file> <password> [<CA Cert filename>]
TFTP a remote file and import a CA certificate
WS5000.(Cfg).wvpn.cert >tftpImport caCert <IP address> <path/filename>
TFTP a remote server certificate and import
WS5000.(Cfg).wvpn.cert >import serverCert <TFTP Server IP Address> <PKCS file> <password> [<CA Cert filename>] remove a CA certificate
WS5000.(Cfg).wvpn.cert > remove caCert <Certificate number>
Page 634
12-10
WS5000 Series Switch System Reference
Table 12.4 Certificate Configuration To show list of uploaded certificates
CLI command used WS5000.(Cfg).wvpn.cert > directory certs
Expected output File Name
Bytes anotherca.cer ca-x509.cer ca.cer jiar.cer jiar.p12 server-x509.cer test(wtls).cer test(wtls).p12 testCA(wtls).cer
582 791 815 578 834 873 390 3642 405
Date & time Mar 16 07:39 Mar 16 07:39 Mar 16 07:39 Mar 16 07:39 Mar 16 07:39 Mar 16 07:39 Mar 16 07:39 Mar 16 07:39 Mar 16 07:39
12.2.4.5 VPN Session License A licensing mechanism ensures that the user provide a valid license key to access the VPN. The number of simultaneous license sessions serverd by the VPN server is controlled by the license file - /etc/wvpn/ license.lk.This file is unique for every switch and is generated on the basis of the MAC based serial number of the switch. The switch,by default, does not support VPN. To enable the VPN you need to supply a valid license file.Table 12.5 lists and describes the CLI commands used to configure the VPN session license: Table 12.5 Configuring VPN Session License To
CLI command used supply a valid license file to enable the VPN session cfg> set vpnsupport enable <license file> pick the license file from /image cfg> copy tftp system
Note This CLI picks up the license file and places it at /etc/wvpn/ license.lk, which is then accepted by the VPN server.This CLI also reboots the switch and on restart the WVPN server is allocated the number of sessions as indicated by the license file. disable the VPN support cfg> set vpnsupport disable
Note This CLI reboots the switch and disables the VPN on restart.
Page 635
Configuring the WS5100 WTLS VPN
12-11
Table 12.5 Configuring VPN Session License To
CLI command used enable the VPN support cfg> set vpnsupport enable
Note You don’t need to provide the name of the license file as the switch will use the license.lk file that was either disabled earlier or use the preloaded file. show the status of vpnsupport, whether its enabled or disabled.
cfg> show vpnsupport show the MAC based serial number that is used to generate a license file cfg> show vpnsupport increase the number of sessions allowed in license file cfg> wvpn> set licensefile <license file>
Note This CLI picks up the license file and places it at /etc/wvpn, which is then accepted by the VPN server. This CLI does not reboot the switch. The license key is decrypted to yield two items-a MAC address, which must match the switch being configured and the number of VPN sessions to allow. Note A site license will have a customer-specific code embedded into the MAC address field; in this case the MAC address value will not be a valid address for any Ethernet device anywhere. This license entitlement will be meant for use by any and all switches owned by the customer.
Note Both wired and non-wired VPN clients are supported.
12.2.5 AES versus 3DES The Advanced Encryption Standard (AES) protocol is a block cipher that supports 128, 192 and 256-bit keys and encryption blocks and is being implemented as a replacement for 3DES (Triple Data Encryption Standard). The critical advantage of AES over 3DES is that 3DES has been defeated while AES has proven to be much more difficult to defeat. A further advantage of AES is that it is faster than 3DES. In addition to being stronger and faster, AES can also protect WS5100-VPN DOS-based clients.
Page 636
12-12
WS5000 Series Switch System Reference
12.2.6 Wireless Transport Layer Security (WTLS) WTLS is a security level protocol specifically designed to provide authentication and data integrity for wireless traffic where access devices can change dynamically (such as access port change due to environmental changes or roaming).
12.2.6.1 WTLS versus IPSec The WS5100-VPN supports WTLS and not IP security (IPSec) for the following reasons: •
IPSec is a wired security protocol and WTLS provides for wireless communication in a roaming environment.
•
IPSec does not support IP fragmentation which forces packet sizes to be smaller and more numerous. This increases overhead (by approximately 50%).
•
IPSec does not support DOS devices.
•
IPSec does not support standard NAT.
IPSec requires a full session handshake when a connection is lost then restored.
12.2.6.2 WTLS configuration Table 12.6 lists and describes the CLI commands that are used to configure the WVPN WTLS (Wireless Transport layer Security): Table 12.6 WTLS Configuratin To
CLI command used enter WTLS submenu
WS5000> Configure WVPN WS5000.(Cfg).wvpn> wtls WS5000.(Cfg).wvpn.wtls> configure the ClientRsaKeySize maximum values
WS5000.(Cfg).wvpn.wtls> set maxClientKey <Integer value>
Key sizes available: 512, 768, 1024, 1536, 2048, 3072, 4096, 7680, 15360 configure the ClientRsaKeySize minimum value
WS5000.(Cfg).wvpn.wtls > set minClientKey <Integer value>
Key sizes available:512, 768, 1024, 1536, 2048, 3072, 4096, 15360 configure the RsaKeySize maximum value
7680,
WS5000.(Cfg).wvpn.wtls > set maxRsaKey <Integer value>
Key sizes available: 512, 768, 1024, 1536, 2048, 3072, 4096, 7680, 15360
Page 637
Configuring the WS5100 WTLS VPN
12-13
Table 12.6 WTLS Configuratin To configure the RsaKeySize maximum and minimum values
CLI command used WS5000.(Cfg).wvpn.wtls > set minRsaKey <Integer value>
Key sizes available: 512, 768, 1024, 1536, 2048, 3072, 4096, 7680, 15360 configure the customCipher value
WS5000.(Cfg).wvpn.wtls > set customCipher <Integer value>
Ciphers available: AES256, AES192, AES128, 3DES, DES56, DES40 configure the customMac value
WS5000.(Cfg).wvpn.wtls > set customMac <Integer value>
MACs available: MD5_128, MD5_80, MD5_40, SHA_512, SHA_384, SHA_256, SHA_160, SHA_80, SHA_40 configure requireClientCertificate
WS5000.(Cfg).wvpn.wtls > set requireClientCertificate <Boolean value> configure keyRefresh
WS5000.(Cfg).wvpn.wtls > set keyRefresh <Integer value> configure securityMode
WS5000.(Cfg).wvpn.wtls > set securityMode <string>
The modes are: customSecurity, defaultSecurity configure serverNumber
WS5000.(Cfg).wvpn.wtls > set serverNumber <Integer value> show WTLS settings
WS5000>show WVPN WTLS
(This command will show all the WTLS related configurable parameters)
Page 638
12-14
WS5000 Series Switch System Reference
12.3 VPN Session Setup
Figure 12.2 VPN Network Setup
12.3.1 Switch Setup Table 12.7 lists and describes the CLI commands used to configure the various switch parameters. Table 12.7 Switch Setup To set VPN support status
Use set vpnsupport enable <license file> [CR] set vpnsupport disable [CR] WS5000.(Cfg)> set vpnsupport enable
This command will reset the system. Are you sure (yes/no) : yes set up a new WLAN
WS5000.(Cfg)>wlan add SampleWlan SampleEssid
Where SampleEssid is the ESSID setup Access Port Policy
WS5000.(Cfg)>appolicy WS5000.(Cfg).APPolicy> add SampleAPPolicy WS5000.(Cfg).APPolicy.[SampleAPPolicy]> add SampleWlan
Page 639
Configuring the WS5100 WTLS VPN
12-15
Table 12.7 Switch Setup To
Use setup Security Policy
Create a new security policy SampleSecurity and assign it to SampleWlan. WS5000.(Cfg)>securitypol WS5000.(Cfg).SecurityPolicy> add SampleSecurity
Go to Wlan context WS5000.(Cfg).WLAN.[ SampleWlan]> set security SampleSecurity
In the SampleSecurity Policyt context enable VPN authentication: WS5000.(Cfg)>securitypol WS5000.(Cfg).SecurityPolicy>SampleSecurity WS5000.(Cfg).SecurityPolicy.[SampleSecurity]>set vpn enable
Setup Ether Policy
WS5000.(Cfg)> etherpolicy WS5000.(Cfg).EtherPolicy> add SampleEtherPolicy WS5000.(Cfg).EtherPolicy.[SampleEtherPolicy]>vlan LAN1 WS5000.(Cfg).EtherPolicy.[SampleEtherPolicy].Vlan. [LAN1]>set wlan SampleWlan WS5000.(Cfg).EtherPolicy.[SampleEtherPolicy].Vlan. [LAN1]> ..
setup Switch Policy
WS5000.(Cfg)> spolicy WS5000.(Cfg).SPolicy> add SampleSwitchPolicy WS5000.(Cfg).SPolicy.[SampleSwitchPolicy]> set countrycode US WS5000.(Cfg).SPolicy.[SampleSwitchPolicy]> set etherpolicy SampleEtherPolicy WS5000.(Cfg).SPolicy.[SampleSwitchPolicy]> set appolicy SampleAPPolicy WS5000.(Cfg).SPolicy.[SampleSwitchPolicy]> set adoptionlist default allow SampleAPPolicy activate the Switch Policy
WS5000.(Cfg)> set switchpolicy SampleSwitchPolicy setup DHCP Server
Ethernet interface 1 is configured by default to 10.1.1.101 WS5000.(Cfg) Ethernet 1 WS5000.(Cfg).Ethernet.[1]> set dhcp_IP_Range 10.1.1.102 10.1.1.110 WS5000.(Cfg).Ethernet.[1]> set dhcpsrv enable
12.3.2 WVPN Setup Download the CA certificate, server certificate, and server certificate keys on the switch using FTP or TFTP. The server certificate keys should be in pfx/p12 format.Ensure the date and time on the swiitch are correct by using WS5000.(Cfg)> date Wed Aug 24 09:09:37 PDT 2005
Use the following CLI commands to download the CA certificate, server certificate, and server certificate keys on the switch
Page 640
12-16
WS5000 Series Switch System Reference
WS5000.(Cfg)> wvpn WS5000.(Cfg).wvpn> cert WS5000.(Cfg).wvpn.cert> import /image/caCert cacert.cer WS5000.(Cfg).wvpn.cert> import serverCert ? import serverCert <server_pkcs12_key_file> <password> [<server_cert_file>]
Note File names must always be accompanied by directory path. For example: / certs/ca.cer
WS5000.(Cfg).wvpn.cert> import serverCert /image/server.p12 password server.cer
Certificates can also be placed on the tftp server. The tftp server import can be done by issuing the following CLI commands: WS5000.(Cfg).wvpn.cert> tftpimport caCert 192.168.4.3 cacert.cer WS5000.(Cfg).wvpn.cert> tftpimport serverCert 192.168.4.3 server.p12 <keypassword> server.cer
Where 192.168.4.3 is the address of the tftp server. Table 12.8 lists and describes the CLI commands used to configure the various WVPN parameters. Table 12.8 WVPN Setup To
Use setup the Authentication
WS5000.(Cfg)> wvpn auth WS5000.(Cfg).wvpn.auth> simple WS5000.(Cfg).wvpn.auth.simpleAuth> set simpleUser test WS5000.(Cfg).wvpn.auth.simpleAuth> set simplePassword test WS5000.(Cfg).wvpn.auth.simpleAuth> set simpleDomain test
Configuring IP Pools and the DHCP server for WVPN.
WS5000.(Cfg)> wvpn ip_pools WS5000.(Cfg).wvpn.ip_pools> add pool default 192.168.4.70 192.168.4.90 WS5000.(Cfg).wvpn.ip_pools> default WS5000.(Cfg).wvpn.ip_pools.[default]> set dhcpServer 10.1.1.101 WS5000.(Cfg).wvpn.ip_pools.[default]> set defaultGateway 10.1.1.101 WS5000.(Cfg).wvpn.ip_pools.[default]> set dns 1.1.1.1
Make sure you have atleast one ip_pool with name default. Note The above setup - Configuring IP Pools and the DHCP server for WVPN, is based on an onboard VPN DHCP server. The configuration for using an extrernal/corporate DHCP server is same except you need to provide the IP, defaultGateway and DNS of the external DHCP server
12.3.3 Starting VPN Service VPN serveice can be started once you download the CA certificate, server certificate, and server certificate keys on the switch. To start the VPN service use