基本配置:ssl.vpn

int f0/0

ip add 202.100.1.1 255.255.255.0

no sh

webvpn gateway gw(创建一个gateway,名字随意,系统会自动产生一张自签名证书,并且调用它。作为https的服务。)

ip address 202.100.1.1 (指定那个接口的ip地址提供ssl vpn服务,后面可以加port修改https的端口号,默认443)

inservice(开启提供服务)

aaa new-mode

aaa authentication login noac line none

line con 0

lgin authentication noacs

line aux 0

login authentication noacs

aaa authentication login webvpn(名字)local

username cisco password cisco

webvon context c1(做一个子的context)

aaa authentication list list webvpn(调用aaa的认证策略)

gateway gw(把context c1关联到gateway)

inservice