今天我把配置做了改动,改了配置后,vpn拨入后能访问dmz里的主机,不能访问inside里的主机。dmz里的主机能访问外网和vpn client,但不能访问inside里的主机。inside里的主机可以对dmz里的主机和vpn client访问。7 b$ T0 X1 z+ B
1 c6 J! Z2 _* _* r8 g
我的目的:想让vpn client拨入后能访问inside里的主机,或dmz里的主机能访问inside里的主机,都可以。0 V3 {7 a3 q7 N' `9 \4 s `/ T+ ^
m* b: g6 d6 X' h' n1 G0 d5 _注:外网、dmz里的主机、inside里的主机都是直连到pix520上的,pix520的os是6.3(5)版本。
; S* L( \ Q' i& J: I
( j' T# x8 V7 @! d) z5 x附配置:4 K7 p/ R& e6 r7 o' P) x
pix520# sh run, d# V0 [* @4 U% o
: Saved. K3 [4 P5 y; `5 x( \& d
:
2 a: p' w) c$ F; U7 `+ q$ g" w9 JPIX Version 6.3(5)
# A9 ]- |. J8 j( I( M9 V: O/ Zinterface ethernet0 auto
' k- X$ R: Q6 C/ }* _interface ethernet1 auto2 a( j; V, {; G" o3 f6 w" A4 Z; \
interface ethernet2 auto5 ~! ?5 V& E4 Q
nameif ethernet0 outside security0) J2 b: X" z3 ~- @9 m1 u6 \& x: w
nameif ethernet1 inside security1000 V& o0 I, m( E/ x
nameif ethernet2 dmz security50
& _7 g/ U2 S8 B. Denable password KtzYd.GV6Ee0dpHi encrypted
( ?! J& L' l+ l% i6 B3 Ppasswd KtzYd.GV6Ee0dpHi encrypted
2 E( Q+ u, D# ]+ W/ lhostname pix520
4 [8 J2 j* j- R7 t- P3 Q/ [6 Rfixup protocol dns maximum-length 512: h7 s- A6 h1 n f2 C2 |5 d% [3 f- i
fixup protocol ftp 21
* C4 y& ]9 U+ x" @- tfixup protocol h323 h225 1720
) _# c9 q$ Q9 |9 T" @fixup protocol h323 ras 1718-1719) t6 {! b2 ~$ U9 s Q
fixup protocol http 80+ I# j4 w% Z1 d; T g& R2 h
fixup protocol pptp 1723
! a2 g* D) E: q; Gfixup protocol rsh 514
7 z/ G* ]/ g# J6 q9 i5 zfixup protocol rtsp 554
3 z1 N& @" `: F- I; _) Sfixup protocol sip 5060
* n/ J0 M# E2 a9 U" K) Ifixup protocol sip udp 5060: c' V; r) j8 a- g9 T
fixup protocol skinny 2000
! ^* O7 V* E8 u$ J$ Bfixup protocol smtp 25: w( F7 N5 r: T& a1 k
fixup protocol sqlnet 1521( `3 _1 ^) P* y- P* l9 `/ O
fixup protocol tftp 69& {: F# o4 r8 P- g7 r% D. x7 [
names! M' H: z4 Z- J- F- } u' o4 @
access-list 101 permit icmp any any ( M- {. R/ a1 }; M
access-list 101 permit tcp any any eq 3389 7 l2 O+ B7 R+ P! H# m- q" [
access-list 101 permit ip any any
. U5 o; c' Q R* i6 U2 Y3 jaccess-list 100 permit icmp any any
2 S0 O# t" e1 |. p0 [1 [8 t# faccess-list 100 permit tcp any any eq 3389 : J: N* A# W: X3 b- A( ~
access-list 110 permit ip 192.168.2.0 255.255.255.0 192.192.192.0 255.255.255.0 5 V" z' \: w) t& e
access-list 110 permit ip 192.168.2.0 255.255.255.0 172.16.16.0 255.255.255.0
! r# ]+ U$ M5 x6 Z- Jaccess-list 111 permit ip 192.192.192.0 255.255.255.0 192.168.2.0 255.255.255.0
* g& G# F; N8 k7 J$ Laccess-list 111 permit ip 192.192.192.0 255.255.255.0 172.16.16.0 255.255.255.0 * g6 V" F4 e" m( P
pager lines 241 C9 X9 U( i7 t+ o3 t9 m
logging on
' s3 `$ K. }5 U7 S3 e$ n2 H" slogging monitor notifications, [$ D+ w w% O3 j% o7 p( e! J
logging buffered errors
! B& Q& X5 x! I9 {! }- llogging history informational3 I6 T# A8 q4 X' }) W
mtu outside 15001 F7 i8 c. |- i$ j3 `2 D; c
mtu inside 15003 w0 F! X q+ s, _1 D l6 _" n. D
mtu dmz 1500
) _+ U$ C f$ P0 {9 x2 G# V- kip address outside 10.166.17.24 255.255.255.2244 q4 o0 n. c& k
ip address inside 192.192.192.1 255.255.255.01 Y! Y8 I/ l# v1 l
ip address dmz 192.168.2.254 255.255.255.07 R- S( ^4 x5 Z. B; Y
ip audit info action alarm
* n' p6 Y1 I. }6 R R" qip audit attack action alarm
, E; f2 s$ \" ], q6 eip local pool vpn 172.16.16.1-172.16.16.254
" b; U Z$ j" l5 N9 j1 gno failover# h4 n$ Z0 g& l, N
failover timeout 0:00:00/ u4 r% e7 T" z6 y4 f7 r
failover poll 15
; r8 u6 J# m0 Z* k3 r9 J, X5 F( V, dno failover ip address outside
! O2 F) Y% Y! N; ]- z* pno failover ip address inside
9 p5 [3 o: J0 E1 M3 \2 ino failover ip address dmz
. ?9 Q2 J* Y, U" J+ y7 l( Qpdm history enable. r) y0 V2 J+ O a6 y
arp timeout 14400
) \' N6 K; N/ I, a4 k) Mglobal (outside) 1 interface4 u7 z7 g8 d- \2 w$ X
nat (inside) 0 access-list 111
) A6 u: S2 V3 R, Gnat (inside) 1 192.192.192.0 255.255.255.0 0 0
9 A2 H$ O/ T& R3 r6 Qnat (dmz) 0 access-list 110
; B& t+ P5 z# d, z) X' Bnat (dmz) 1 192.168.2.0 255.255.255.0 0 0
+ [4 P* _8 B: T' L7 tstatic (inside,dmz) 192.192.192.2 192.192.192.2 netmask 255.255.255.255 0 0
$ t e) }+ i! J! @6 `access-group 100 in interface outside/ R. [4 m9 v- H# ~# ]0 {7 y& u
access-group 101 in interface dmz- M8 O9 T, A8 u- G; v
route outside 0.0.0.0 0.0.0.0 10.166.17.30 1. ?0 m5 h# T8 Z7 [) [4 m2 q
timeout xlate 3:00:00% G5 r4 X9 ]# i
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00$ l6 z3 t, R& I3 {7 I. L
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00- i4 E- w5 M5 Y( C/ F) W a! U
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
4 U1 I( L+ i& A, e% K6 Ztimeout uauth 0:05:00 absolute6 w8 G4 R; ]9 s% i; [2 w1 Y
aaa-server TACACS+ protocol tacacs+
! {7 ~, t# P$ G' i% Waaa-server TACACS+ max-failed-attempts 3
5 z1 T/ T" A7 h Caaa-server TACACS+ deadtime 10
5 n( t$ O) r8 l' Faaa-server RADIUS protocol radius
* ?" _7 }, F( V/ o8 v* H1 J0 J: r% @aaa-server RADIUS max-failed-attempts 3 0 k2 A6 u+ f+ q$ F% h5 S6 Q+ K! D
aaa-server RADIUS deadtime 10
7 p, \! W+ m: P4 e$ waaa-server LOCAL protocol local 3 c) a& n8 Q; Q
no snmp-server location
0 L& s# o2 B7 Q- t* sno snmp-server contact
, E5 @$ N I( x \snmp-server community public
/ \ K; S5 V# q/ G# mno snmp-server enable traps0 r: a9 d- S0 v6 _ c( i
floodguard enable
" h- h" ?: u4 isysopt connection permit-pptp
4 R# k/ ~# N( n. ^0 {sysopt noproxyarp outside
+ S6 ], ~' i3 z0 n o% asysopt noproxyarp inside
) B0 n$ _- s6 stelnet 192.192.192.0 255.255.255.0 inside, C" K/ ]5 S" P9 P& @
telnet timeout 5& U( ^' v T: K2 O; s
ssh timeout 5 A: a! g6 w) }9 M1 T( v7 I1 `. u
console timeout 0
, G0 Z! g( ^) u) k9 gvpdn group xxzx accept dialin pptp' O% _) j# l& w4 i0 ]
vpdn group xxzx ppp authentication chap, G4 ~# A6 q; x( v# T# r# Z6 E a' F4 o
vpdn group xxzx ppp authentication mschap; n) n1 p) `& V5 D
vpdn group xxzx client configuration address local vpn
- v, g- M6 Z3 k& j1 s& @vpdn group xxzx pptp echo 600 N# W* a5 u9 p' z. M# q5 ]
vpdn group xxzx client authentication local8 N. r9 J5 Q, D! i4 p/ D- ~
vpdn username hrbbxxzx password ********* / p' V% H; Z9 W0 [
vpdn enable outside) m7 Z0 m$ K% y+ q' O$ V
terminal width 80
9 h* z% e. X. C( {% Y. t; ~Cryptochecksum:ca107db971e827731294bffc5e00dc39' s8 Y- k1 B, O
: end4 {; m( P3 N0 J
pix520# |