遠程接入式***

170107593.jpg

---------------------------------------

 

R1配置信息:

interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 no shutdown 

 

interface Serial0/1/0
 ip address 12.1.1.1 255.255.255.0
 ip nat outside

 no shutdown

ip nat inside source list 1 interface Serial0/1/0 overload

 

ip route 0.0.0.0 0.0.0.0 12.1.1.2 

access-list 1 permit 192.168.1.0 0.0.0.255

 

------------------------------------------------------------------------------

 

R2配置信息:

interface Serial0/1/0
 ip address 12.1.1.2 255.255.255.0
 clock rate 64000

 no shutdown

interface Serial0/2/0
 ip address 23.1.1.2 255.255.255.0
 clock rate 64000

 no shutdown

 

------------------------------------------------------------------------------

 

R3配置信息:

aaa new-model

aaa authentication login ***-a local 

aaa authorization network ***-n local

username cisco password 0 cisco123

crypto isakmp policy 10
 hash md5
 authentication pre-share
 group 2

crypto isakmp client configuration group ***-group
 key password123
 pool ***pool

crypto ipsec transform-set test esp-3des esp-md5-hmac

crypto dynamic-map ***map 10
 set transform-set test 
 reverse-route

crypto map map1 client authentication list ***-a
crypto map map1 isakmp authorization list ***-n
crypto map map1 client configuration address respond
crypto map map1 10 ipsec-isakmp dynamic ***map

interface FastEthernet0/0
 ip address 192.168.0.1 255.255.255.0

 no shutdown

interface Serial0/3/0
 ip address 23.1.1.3 255.255.255.0

 no shutdown
 crypto map map1

ip local pool ***pool 172.16.0.100 172.16.0.200

ip route 0.0.0.0 0.0.0.0 23.1.1.2 

 

----------------------------------------------------------------------------

 

實驗結果:

1、通過***軟件撥入訪問遠端服務器

171816996.jpg

 

2、已經成功通過***撥入到遠端內網並獲得IP地址

172003244.jpg172105748.jpg

 

3、通過***撥入式成功訪問遠端內網服務器

172132227.jpg

 

 

 -------------------------------------

 

最後說一句,使用Cisco Packet Tracer 5.3.2配置完成後可能出現客戶端***撥號不成功,需要保存配置後重新打開Packet Tracer保存文件再試一次,Cisco Packet Tracer實驗保存文件已上傳,但需要重命名文件爲pkt格式即可。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章