新聞中心
全面講述動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN關(guān)鍵命令,現(xiàn)在家家戶(hù)戶(hù)都有了自己的電腦,了解動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN設(shè)置,動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN設(shè)置,VPN設(shè)置會(huì)更方便的讓你體會(huì)到互聯(lián)網(wǎng)的精彩世界。

成都創(chuàng)新互聯(lián)公司服務(wù)項(xiàng)目包括包頭網(wǎng)站建設(shè)、包頭網(wǎng)站制作、包頭網(wǎng)頁(yè)制作以及包頭網(wǎng)絡(luò)營(yíng)銷(xiāo)策劃等。多年來(lái),我們專(zhuān)注于互聯(lián)網(wǎng)行業(yè),利用自身積累的技術(shù)優(yōu)勢(shì)、行業(yè)經(jīng)驗(yàn)、深度合作伙伴關(guān)系等,向廣大中小型企業(yè)、政府機(jī)構(gòu)等提供互聯(lián)網(wǎng)行業(yè)的解決方案,包頭網(wǎng)站推廣取得了明顯的社會(huì)效益與經(jīng)濟(jì)效益。目前,我們服務(wù)的客戶(hù)以成都為中心已經(jīng)輻射到包頭省份的部分城市,未來(lái)相信會(huì)繼續(xù)擴(kuò)大服務(wù)區(qū)域并繼續(xù)獲得客戶(hù)的支持與信任!
利用Internet出口線路建立動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN通道實(shí)現(xiàn)總、分公司之間的互聯(lián),是目前許多公司熱衷的方案。以往要建立這樣的VPN,需要至少一端使用靜態(tài)的IP地址。當(dāng)前很多公司都通過(guò)ADSL方式上網(wǎng),如果要求電信提供靜態(tài)地址,費(fèi)用將會(huì)大大增加(如深圳512K固定IP的ADSL月租是RMB5000)。
現(xiàn)在CiscoIOS12.3(4)T中新增了根據(jù)DNS名稱(chēng)來(lái)建立VPNpeer的命令,借助希網(wǎng)(3322.org)、88ip等動(dòng)態(tài)域名解釋系統(tǒng)的配合,可以在VPN兩端都使用動(dòng)態(tài)地址的ADSL線路,節(jié)省大筆費(fèi)用。
動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN關(guān)鍵命令:
setpeer{host-name[dynamic]|ip-address}
動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN說(shuō)明:
host-name指定IPSecpeer的DNS主機(jī)名稱(chēng),如:myhost.example.com。
dynamic(可選參數(shù))指定IPSecpeer的主機(jī)名在需要建立IPSec通道的時(shí)候才通過(guò)DNS服務(wù)器解釋為IP地址。
ip-address直接給出IPSecpeer的IP地址(傳統(tǒng)的配置方式)。
實(shí)際環(huán)境中局域網(wǎng)內(nèi)應(yīng)在一臺(tái)機(jī)器上運(yùn)行動(dòng)態(tài)域名解釋客戶(hù)端程序,以將主機(jī)名nbo.3322.org注冊(cè)到服務(wù)器,注冊(cè)地址是路由器的外網(wǎng)端口地址。
動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN配置:
VPN-1(省略了部分無(wú)關(guān)配置):
version12.3
!
hostnamevpn-1
!
aaanew-model
!
aaaauthenticationloginauthengroupradiuslocal
aaaauthorizationnetworkauthorlocal
aaasession-idcommon
ipsubnet-zero
!
ipcef
ipname-server202.96.134.133
!
cryptoisakmppolicy10
authenticationpre-share
group2
cryptoisakmpkeyciscoaddress0.0.0.00.0.0.0
!
cryptoipsectransform-sets2sesp-desesp-sha-hmac
!
cryptodynamic-mapdymap1
settransform-sets2s
matchaddress110
!
cryptomapmymap1ipsec-isakmpdynamicdymap
!
interfaceFastEthernet0/0
descriptionVPN
ipaddress202.11.22.11255.255.255.248
ipnatoutside
cryptomapmymap
!
interfaceFastEthernet0/1
descriptionINSIDE_GATEWAY
ipaddress172.16.10.110255.255.0.0
ipnatinside
!
ipnatinsidesourceroute-mapnonatinterfaceFastEthernet0/0overload
ipclassless
iproute0.0.0.00.0.0.0FastEthernet0/0
noiphttpserver
!
access-list110permitip172.16.0.00.0.255.255172.30.1.00.0.0.255
access-list120denyip172.16.0.00.0.255.255172.30.1.00.0.0.255
access-list120permitip172.16.0.00.0.255.255any
route-mapnonatpermit10
matchipaddress120
!
end
動(dòng)態(tài)IP地址實(shí)現(xiàn)VPNVPN-2(省略了部分無(wú)關(guān)配置):
version12.3
!
hostnamevpn-2
!
usernamemizepassword0http://mize.netbuddy.org
noaaanew-model
ipsubnet-zero
!
ipcef
ipname-server202.96.134.133
!
cryptoisakmppolicy1
authenticationpre-share
group2
cryptoisakmpkeyciscohostnamenbo.3322.org
!
cryptoipsectransform-sets2sesp-desesp-sha-hmac
!
cryptomapmymap10ipsec-isakmp
setpeernbo.3322.orgdynamic
settransform-sets2s
matchaddress110
!
interfaceFastEthernet0/0
ipaddress202.11.22.43255.255.255.248
ipnatoutside
cryptomapmymap
!
interfaceFastEthernet0/1
ipaddress172.30.1.1255.255.255.0
ipnatinside
!
ipnatinsidesourceroute-mapnonatinterfaceFastEthernet0/0overload
ipclassless
iproute0.0.0.00.0.0.0FastEthernet0/0
!
access-list110permitip172.30.1.00.0.0.255172.16.0.00.0.255.255
access-list120denyip172.30.1.00.0.0.255172.16.0.00.0.255.255
access-list120permitip172.30.1.00.0.0.255any
route-mapnonatpermit10
matchipaddress120
!
end
動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN相關(guān)調(diào)試命令:
showcryisasa
showcryipsecsa
網(wǎng)站標(biāo)題:全面講述動(dòng)態(tài)IP地址實(shí)現(xiàn)VPN關(guān)鍵命令
分享網(wǎng)址:http://fisionsoft.com.cn/article/dpgoepj.html


咨詢(xún)
建站咨詢(xún)
