Baidu VPN configuration

Source: Internet
Author: User
Chapter 2 webvpn
Overview
In ios12.4 (14) T, Cisco adds an ssl vpn. Running an ssl vpn on a vro is called a web VPN.
In the final analysis, Cisco took the webvpn technology of the vpn3000 hub to the router and poured it into Cisco's IOS.
1.1 web VPN requirements for user terminals:
1. Support for SSL
(Ie, Netscape, Mozilla or Firefox)
2. Sum microsystem Java Runtime (
Port forwarding, thin client features)
3. Optional e-mail clients: Microsoft Outlook and Netscape Mail
Or Eudora
1.2 web VPN restrictions:

1. supports SSL V3 and does not support TLS
2. The Cisco Secure Desktop and ciscossl VPN Client are not supported, so the router
Only supports connections between non-customers and thin customers
3. URLs called by Macromedia Flash do not support secure Retrieval
1.3 advantages of Web VPN
When accessing the Web VPN, vpn3000, ASA
The interface is the same as the interface seen by the router, so no additional skills are required for the customer.

Chapter 4 Implementation of webvpn
Create webvpn
The configuration is not very complex. I used the cisco2691 simulator to configure the experiment.
1. Configure AAA, DNS, and certificate ( Required )
2. Configure webvpn (Required )
3. Create URL and port forwarding questions (optional)
4.
Maintenance, monitoring webvpn (optional)
2.1 required configuration methods
1. Configure AAA to provide verification customer information
2. Create DNS to parse the URL
Name Information
3. Obtain an SSL Certificate for the router
2.1.1
AAA Configuration
The user information for ssl vpn authentication can be stored locally on the vro ),
Or TACACS + and RADIUS servers.
R1 (config) # AAA New-Model Enable aaa
R1 (config) # AAA authentication Login
Webvpn local Local database is used for authentication. The authentication list name is webvpn.

R1 (config) # username Test password Test Create a local account: Test
If you want to save it to the authentication server, you need the following Configuration:
R1 (config) # aaa
New-Model Enable aaa
Function
R1 (config) # AAA authentication login webvpn group radius
The authentication information is saved to the RADIUS server. The authentication list name is webvpn.

R1 (config) # radius-server host 192.168.1.1 key Cisco
Configure the authentication server
R1 (config) # username Test
Password Test Create a local account: Test

2.1.2 DNS
Configuration

DNS functions:
1. Protect SSL connections and establish RSA
Key pair (a public key is required before it can be derived Algorithm Generate a private key)
2. parse the URL name
Configuration:
R1 (config) # hostname
R1Required
R1 (config) # IP domain-name
Cisco.com Required
R1 (config) # IP
Name-server 192.168.1.1 Let 192.168.1.1
Resolve FQDN

2.1.3 SSL
Certificate Configuration

Start webvpn with SSL
The vro requires a certificate: The certificate key is used to protect the data between the user's desktop and the vro. To obtain the certificate:
1. obtain the certificate from a ca

2. self-built self-issued certificates
3. I have already introduced how to use CA to obtain the self-issued certificate.
R1 (config) # crypto
PKI trustpoint sslvpn Specify the trust point name as sslvpn

R1 (ca-trustpoint) # enrollment selfsigned Specify the certificate to be issued from
R1 (ca-trustpoint) # subject-name
CN = sslvpn ou = Cisco o = Cisco Configure the certificate components: CN, ou, O

R1 (ca-trustpoint) # rsakeypair sslvpn 1024 Specifies the tag and signature of the RSA key, and the modulus of the key (sslvpn is the signature)

R1 (config) # crypto PKI enroll sslvpn Generate Certificate
% Includetherouterserialnumberinthesubjectname? [Yes/No ]:
* Mar 1 00:14:51. 519: % SSH-5-ENABLED:
SSH 1.99 has been enabled
* Mar 1 00:14:51. 539: % CRYPTO-6-AUTOGEN: generated
New 1024 bit key pair
% Please answer 'yes' or 'no '.
% Include the router
Serial number in the Subject name? [ Yes/No ]:
No % include an IP address in
Subject name? [ No ]: No
Generate
Self signed router certificate? [Yes/No ]: Y
Router self signed
Certificate successfully created

2.1.4 configure webvpn
Now you can create a webvpn:

R1 (config) # webvpn enable gateway-ADDR 192.168.1.2 Specify 192.168.1.2 to receive webvpn connections.
You must specify gateway-ADDR (192.168.1.2 is the IP address of the Internet interface)

R1 (config) # webvpn r1 (config-webvpn) # SSL trustpoint sslvpn
Load a certificate trust point, that is, the self-trust certificate just created
R1 (config-webvpn) # SSL
Encryption 3des-sha1 Select SSL
Tunnel Encryption Method
R1 (config-webvpn) # title "Welcome to sslvpn"
Homepage title after passing Authentication
R1 (config-webvpn) # title-color
The title color. The default color is purple.
R1 (config-webvpn) # text-color Text color in the title bar
R1 (config-webvpn) # secondary-color
Color of the secondary title bar
R1 (config-webvpn) # secondary-text-color
Black Secondary title text color
R1 (config-webvpn) # login-message
"Please enter name and password" Prompt for user to perform verification
R1 (config-webvpn) # logo File
Flash: test.gif Display the login and homepage logo Images
R1 (config-webvpn) # idle-Timeout
1800 sslvpns Idle timeout. The default value is 1800 s.

2.1.5 create a URL
And port forwarding entries

After successful verification, the user will go to the webvpn homepage (called the portal page) to list the URLs that can be accessed by the user.
And port forwarding applications Program . The default value is null.
2.1.5.1 portal page url

R1 (config) # webvpn
R1 (config-webvpn) # URL-list sslvpn
Define a URL list as sslvpn
R1 (config-webvpn-URL) # heading "Access URL" appears on the homepage URL
Title
R1 (config-webvpn-URL) # URL-text test URL-Value Http://www.test.com The text name of the Super connection is test, and the actual connection is: Http://www.test.com

R1 (config-webvpn-URL) # exit
2.1.5.2
Portal page port forwarding
Actually, port redirection means that when you enter Telnet 127.0.0.1 In the CMD of the Client
60002, will be remotely logged on to 192.168.1.3. It is recommended that the local-port use the port number that is not used by the client. Generally it is greater than 60000!

R1 (config) # webvpn
R1 (config-webvpn) # port-forward list SSH local-Port
60001 remote-Server
192.168.1.3 remote-port 22

R1 (config-webvpn) # port-forward list Telnet local-port 60002 remote-Server

192.168.1.3 remote-port 23
Note: Webvpn
You do not need a secure desktop. Therefore, the configuration is more convenient.
If there are too many remote clients, do not use a self-generated certificate because it will consume vro resources.
2.1.6 maintain web VPN

View webvpn sessions:
show webvpn session
:
show webvpn
Statistics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.