December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to create an SSL VPN using Cisco’s WebVPN services on an IOS router.
You can configure a simple SSL VPN on a router, essentially constructing an HTTPS portal that includes simple port forwarding:
Core#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Core(config)#hostnameCore(config)#Coreip domain-nameCore(config)#oreilly.comaaa new-modelCore(config)#aaa authentication loginlocal_authlocalCore(config)#username ijbrown secretCore(config)#ianspasswordusername kdooley secretCore(config)#kevinspasswordcrypto pki trustpointCore(ca-trustpoint)#WEBVPNenrollment selfsignedCore(ca-trustpoint)#rsakeypairCore(ca-trustpoint)#WEBVPN 1024subject-nameCore(ca-trustpoint)#CN=WEBVPN OU=cookbooks O=oreillyexitCore(config)#crypto pki enrollThe router has already generated a Self Signed Certificate for trustpoint TP-self-signed-3299111097. If you continue the existing trustpoint and Self Signed Certificate will be deleted. Do you want to continue generating a new Self Signed Certificate? [yes/no]:WEBVPNyes% Include the router serial number in the subject name? [yes/no]:no% Include an IP address in the subject name? [no]:noGenerate Self Signed Router Certificate? [yes/no]:yesRouter Self Signed Certificate successfully created Core(config)#interfaceCore(config-if)#Loopback0ip addressCore(config-if)#172.25.100.2 255.255.255.255exitCore(config)#webvpn enable gateway-addrCore(config)# Core(config)# ...172.25.100.2
Read now
Unlock full access