Cisco ASA L2TP over IPSEC配置詳解
雁江網(wǎng)站建設(shè)公司成都創(chuàng)新互聯(lián)公司,雁江網(wǎng)站設(shè)計制作,有大型網(wǎng)站制作公司豐富經(jīng)驗。已為雁江近千家提供企業(yè)網(wǎng)站建設(shè)服務(wù)。企業(yè)網(wǎng)站搭建\外貿(mào)網(wǎng)站建設(shè)要多少錢,請找那個售后服務(wù)好的雁江做網(wǎng)站的公司定做!
1創(chuàng)建×××地址池
ciscoasa(config)# ip local pool ***pool 192.168.151.11-192.168.151.15 mask 255.255.255.0
2配置Ipsec加密算法為3DES和SHA
ciscoasa(config)# crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac
3配置IPSec傳輸模式為transport,默認為tunnel模式(L2TP只支持transport)
Ciscoasa(config)#crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
4使用傳輸組定義動態(tài)加密策略
Ciscoasa(config)# crypto dynamic-map outside_dyn_map 10 set transform-set TRANS_ESP_3DES_SHA
5定義加密映射并應(yīng)用到外網(wǎng)接口上(outside)
#crypto map outside_map 10 ipsec-isakmp dynamic outside_dyn_map
#crypto map outside_map interface outside
6外網(wǎng)接口上開啟isakmp策略支持
Ciscoasa(config) crypto isakmp enable outside
7 定義isakmp策略
Ciscoasa(config)# crypto isakmp policy 10
ciscoasa(config-isakmp-policy)# authentication pre-share
ciscoasa(config-isakmp-policy)# encryption 3des
ciscoasa(config-isakmp-policy)# hash sha
ciscoasa(config-isakmp-policy)# group 2
ciscoasa(config-isakmp-policy)# lifetime 86400
ciscoasa(config-isakmp-policy)# exit
8設(shè)置nat穿越
ciscoasa(config)# crypto isakmp nat-traversal 10
9配置默認內(nèi)部組策略
ciscoasa(config)# group-policy DefaultRAGroup internal
10配置默認內(nèi)部組策略屬性
ciscoasa(config)# group-policy DefaultRAGroup attributes
ciscoasa(config-group-policy)# ***-tunnel-protocol IPSec l2tp-ipsec
ciscoasa(config-group-policy)# default-domain value cisco.com
ciscoasa(config-group-policy)# DNS-server value 202.96.209.133
注:配置L2TP over IPsec為***隧道的協(xié)議,必須要加IPSec,只有l(wèi)2tp-ipsec,***是撥不通的
11創(chuàng)建本地用戶,及為用戶配置密碼,并指明加密算法
ciscoasa(config)# username frank password frank mschap
12創(chuàng)建默認的隧道組,一定要使用defaultRAGroup,L2TP不支持其他組,并定義認證方式為本地。
ciscoasa(config)# tunnel-group DefaultRAGroup general-attributes
ciscoasa(config-tunnel-general)# authentication-server-group LOCAL
ciscoasa(config-tunnel-general)# default-group-policy DefaultRAGroup
ciscoasa(config-tunnel-general)#address-pool ***pool
ciscoasa(config-tunnel-general)#exit
13制定用戶所在的組策略
ciscoasa(config-tunnel-general)#username frank attributes
ciscoasa(config-username)# ***-group-policy DefaultRAGroup
ciscoasa(config-username)# ***-tunnel-protocol IPSec l2tp-ipsec
ciscoasa(config-username)# exit
14 配置默認隧道組的ipsec屬性,并配置默認隧道組認證方式為ms-chap-v2
ciscoasa(config)# tunnel-group DefaultRAGroup ppp-attributes
ciscoasa(config-ppp)# authentication ms-chap-v2
ciscoasa(config-ppp)#exit
15 客戶端設(shè)置
Win 7需要修改注冊表
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent]
"AssumeUDPEncapsulationContextOnSendRule"=dword:00000002
16在客戶端上創(chuàng)建連接到工作區(qū)域×××連接,并設(shè)置***的屬性
網(wǎng)站標(biāo)題:ciscoasal2tpoveripsec配置詳解
鏈接地址:http://chinadenli.net/article44/gghhee.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供品牌網(wǎng)站建設(shè)、移動網(wǎng)站建設(shè)、網(wǎng)站營銷、用戶體驗、響應(yīng)式網(wǎng)站、App設(shè)計
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)