国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

用CISCO VPN-Client4.01連接擴展驗證-VPN-SERVER配置

2019-11-05 00:10:45
字體:
來源:轉載
供稿:網友

不使用擴展驗證方式配置見:www.mycisco.cn/post/170.Html

PC(10.0.0.1、網關10.0.0.254)-----------------(e0/0:10.0.0.254)ROUTER3620(lo0:172.16.0.1)

IOS版本c3620-ik9o3s7-mz.123-21.bin

Building configuration...

Current configuration : 1853 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service passWord-encryption
!
hostname vpnserver
!
boot-start-marker
boot-end-marker
!
!
aaa new-model
!
!
aaa authentication login xauthen local
!利用AAA配置擴展驗證,由于沒有AAA服務器,只調用了本地
aaa authorization network groupauthor local
!使用AAA服務器查找組策略,這里使用本地,這個本地組策略也可以不配,在后面的加密影射中,調用本地組策略名即可
aaa session-id common
ip subnet-zero
!
!
ip cef   
!
ip audit po max-events 100
!
!
!
!
!
!
!
!
!
!
!
!
username lin password 0 cisco
!
!
!
crypto isakmp policy 1
 encr 3des
 hash md5
 authentication PRe-share
 group 2 
!
!指定組策略屬性,并進入組策略配置模式,這些配置會被push給客戶端
crypto isakmp client configuration group clientgroup
 key cisco123
!假如客戶段是靠preshared key來確定自己身份的話,那么這個KEY配置就是必須的,它可以和擴展驗證里的不同
 dns 61.148.1.8
 wins 61.148.1.7
 pool ippool
!調用本地地址池,不同的組策略可以調用不同的本地地址池,它要和全局下配置的地址池名一致.
!
!
!培植IPSEC轉換集
crypto ipsec transform-set ipsectrans esp-3des esp-md5-hmac
!
!配置動態影射摸班,調用轉換集,因為不知道peer的IP地址,也不知道要match那些感愛好流,所以用動態加密影射.
crypto dynamic-map dynamicmap 1
 set transform-set ipsectrans
!
!
!下面開始將組策略模式配置和擴展驗證應用到具體的加密影射上.
!
crypto map actmap client authentication list xauthen
!假如這里不用擴展驗證,則可省略上面語句.
!下面這個語句是啟用IKE的組策略查詢,它將依靠于list后面的名稱來查詢AAA或者本地的組策略!
crypto map actmap isakmp authorization list groupauthor
!采用擴展組策略,假如不用擴展組策略則用下面這個語句使用本地手工配置的客戶組,授權語句不可以省略,否則IKE協商過不去.!crypto map actmap isakmp authorization list clientgroup



  crypto map actmap client configuration address respond
!上面的語句,是讓VPN服務段響應客戶段發起的地址請求,當然也可以使用initiate參數來主動發起請求(適合1.x版本客戶段軟件),兩個參數可同時用.
crypto map actmap 1 ipsec-isakmp dynamic dynamicmap
!使用IKE來負責ipsec的協商,關聯動態影射摸班.
!
!
!
interface Loopback0
 ip address 172.16.0.1 255.255.0.0
!
interface Ethernet0/0
 ip address 10.0.0.254 255.0.0.0
 full-duplex
 crypto map actmap
!
interface Ethernet0/1
 no ip address
 shutdown
 half-duplex
!
interface Ethernet0/2
 no ip address
 shutdown
 half-duplex
!
interface Ethernet0/3
 no ip address
 shutdown
 half-duplex
!
interface Serial1/0
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
ip local pool ippool 192.168.10.1 192.168.10.254
!本地地址池,可以配置多條不同的地址池語句.
no ip http server
no ip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet0/0
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end


軟件配置:

建立新連接,注重的就是在新建的時候密碼要填與客戶組對應的密碼,這里是cisco123.

然后連接,在連接過程中會額外再彈出一個要求輸入用戶名和密碼的提示框,這時候輸入AAA對應的,這里是lin,cisco.

http://www.cisco.com/en/US/prodUCts/sw/secursw/ps2308/products_configuration_example09186a00801c4246.shtml



發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 道孚县| 辉南县| 盐山县| 平塘县| 米泉市| 三穗县| 南汇区| 瓦房店市| 阿城市| 文登市| 邻水| 河津市| 东台市| 鄂托克旗| 长泰县| 霞浦县| 花莲县| 崇信县| 万宁市| 潞城市| 石阡县| 新绛县| 龙南县| 洪江市| 松原市| 会昌县| 徐州市| 柳林县| 中牟县| 阳新县| 临澧县| 济南市| 科技| 蓝田县| 长寿区| 昭平县| 宁晋县| 博爱县| 丹棱县| 延川县| 大渡口区|