
做ipsec vpn 这个命令含义是什么crypto dynamic-map dymap 500 set reverse-route
& }: ^; p4 i/ L9 j% S
( Z$ J; P' w' A- Hreverse-route反向路由什么意思?
: r) e; G; V b( P3 {7 i6 R& n1 Q' a在线等啊。3 F) y+ z1 ?: j# A
9 `0 ?9 r; ~1 P- \- N8 U
( }2 ?' ~6 f. P' K
6 Y, o& J3 c2 `" S" i
3 A* D2 U% {1 E
全部命令
4 y- ]8 Y( T0 R; g, @9 F/ C+ NASA的配置:
' l% U4 m/ d8 w& s6 eciscoasa(config)# crypto isakmp policy 10+ m6 d1 `7 J2 E+ @- D* f
ciscoasa(config-isakmp-policy)# encryption des9 b; |! r3 g( c! P( Z; e, c
ciscoasa(config-isakmp-policy)# hash md5
% `( K# }0 y U A, }& n! B0 s) bciscoasa(config-isakmp-policy)# authentication pre-share
* W1 v. v( J+ q6 Mciscoasa(config-isakmp-policy)# group 2- }8 ~& W' u5 O0 R# [5 m
ciscoasa(config-isakmp-policy)# exit/ Q2 g: l6 w- r$ m; G4 s- l V
ciscoasa(config)#1 `3 P, x D/ ]# Z# x- [4 S
ciscoasa(config)# crypto ipsec transform-set test esp-des esp-md5-hmac
$ C7 [9 ^ R( F# m. M0 Hciscoasa(config)# crypto dynamic-map dymap 500 set transform-set test# g1 [9 j3 D% R/ n4 G- ~
ciscoasa(config)# crypto dynamic-map dymap 500 set reverse-route
V7 M8 H6 }; qciscoasa(config)# crypto map mymap 500 ipsec-isakmp dynamic dymap
/ O$ D' L4 W. N- {( T4 Wciscoasa(config)# crypto map mymap interface outside) Y r4 ]# X) ?# ^
ciscoasa(config)# isakmp enable outside
. g4 Z1 P( v. ]4 M/ B! a3 D+ k% q: ociscoasa(config)# isakmp key cisco address 0.0.0.0 netmask 0.0.0.0% B4 H! R: k5 ~ U; T; z) u' w2 ^
对端ADSL接入的路由器配置
; n: ^/ r* _) v' u6 k v) `7 Q" e3 B, cR1(config)#access-list 102 permit ip 10.1.1.0 0.0.0.255 10.100.1.0 0.0.0.2559 y. }: \! x& A0 Z6 b
R1(config)#crypto isakmp policy 1- \; T2 `) a! f, h
R1(config-isakmp)#encryption des+ H, ]5 O6 m' b& e* I9 |6 m- Q3 z; M
R1(config-isakmp)#hash md5
) X7 @1 [0 W$ ?% X0 k; U. nR1(config-isakmp)#authentication pre-share
) R) n3 b( O3 [' @& vR1(config-isakmp)#group 2
) q4 F) Y* _1 ?R1(config-isakmp)#exit9 M! R$ z1 t n2 W3 w k, E6 u( A
R1(config)#crypto isakmp key 0 cisco address 11.11.11.11* {6 A2 b3 |: p2 b* k
R1(config)#crypto ipsec transform-set vpn esp-des esp-md5-hmac' s; R6 p8 d! e3 w
R1(cfg-crypto-trans)#exit! g( O1 [0 q K. k+ j* q( U0 D
R1(config)#crypto map mymap 1 ipsec-isakmp
6 O& q% A5 Q+ I% fR1(config-crypto-map)#set peer 11.11.11.11
+ D0 ]3 Y R: `R1(config-crypto-map)#set transform-set vpn
* R0 q. \7 D0 x0 f, T9 t! z: Q4 n7 _. _/ YR1(config-crypto-map)#match address 102
, e! Q4 _! H% c' ^* U" O4 wR1(config-crypto-map)#exit
; Y w, j- e6 L- ^0 CR1(config)#int f0/1
: K5 g- v) e" B% t8 }R1(config-if)#crypto map mymap2 g1 [' P3 t) C& u$ Y
R1(config-if)#exit) ?1 M! T, B8 V1 S6 ~* [
0 g1 u1 N0 N: S1 s& `/ f9 n
% H) h1 c* L4 V% B7 B
3 o6 h r/ J& s& ]7 S0 C
/ }: q) j% k3 _5 p1 M5 S/ j; A4 }# S
, G- l' ]" L5 e, u) I& T4 l3 [
: j( X; s5 W. n0 u' m 该贴已经同步到
3608239197500675
(5.54 KB, 下载次数: 10)
|
|