Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with VPN please!

Status
Not open for further replies.
Apr 25, 2004
9
0
0
GB
Hi,

I'm very new to cisco equipment and was hoping someone could help me with this issue I have. I am trying to set up a VPN from a cisco 837 router that I have to another company, which I think is using a PIX. After some tweaking I managed to set the same VPN up from another site we have, which uses a 3000 concentator. However after using cisco SDM and using as many commands as I know how I cannot get the VPN tunnel to come up on the 837 router. Essentailly I want <server1> and <server2> from the remote company (as shown in the show run below) to be able to access 192.168.0.100 that is off of my 837 router. Any help would be very gratefully received.



UAT_VPN_01#sh run
Building configuration...

Current configuration : 6525 bytes
!
! Last configuration change at 19:28:00 London
! NVRAM config last updated at 19:28:12 London Thu Mar 9 2006 by admin
!
version 12.3
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname UAT_VPN_01
!
security authentication failure rate 3 log
security passwords min-length 6
logging buffered 51200 debugging
logging console critical
enable secret 5 $1$89Ke$n
!
username admin password 7 070D755F460C0B
clock timezone London 0
clock summer-time London date Mar 30 2003 1:00 Oct 26 2003 2:00
aaa new-model
!
!
aaa authentication login local_authen local
aaa authorization exec local_author local
aaa session-id common
ip subnet-zero
no ip source-route
ip tcp synwait-time 10
ip name-server <DNS1>
ip name-server <DNS2>
!
!
no ip bootp server
ip cef
ip inspect name SDM_LOW cuseeme
ip inspect name SDM_LOW ftp
ip inspect name SDM_LOW h323
ip inspect name SDM_LOW icmp
ip inspect name SDM_LOW netshow
ip inspect name SDM_LOW rcmd
ip inspect name SDM_LOW realaudio
ip inspect name SDM_LOW rtsp
ip inspect name SDM_LOW sqlnet
ip inspect name SDM_LOW streamworks
ip inspect name SDM_LOW tftp
ip inspect name SDM_LOW tcp
ip inspect name SDM_LOW udp
ip inspect name SDM_LOW vdolive
ip audit notify log
ip audit po max-events 100
ip ssh time-out 60
ip ssh authentication-retries 2
no ftp-server write-enable
!
!
!
!
crypto isakmp policy 2
encr 3des
hash md5
authentication pre-share
group 2
lifetime 3600
crypto isakmp key 0 <secret key> address <PIX>
!
!
crypto ipsec transform-set Mick esp-3des esp-md5-hmac
!
crypto map SDM_CMAP_1 1 ipsec-isakmp
description Tunnel to<PIX>
set peer <PIX>
set transform-set Mick
match address Mick
!
!
!
!
interface Null0
no ip unreachables
!
interface Ethernet0
description $ETH-LAN$$FW_INSIDE$
ip address 192.168.0.1 255.255.255.0
ip access-group 100 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip route-cach
ip tcp adjust-mss 1412
no cdp enable
hold-queue 100 out
!
interface ATM0
no ip address
no ip redirects
no ip unreachables
no ip proxy-arp
ip route-cache flow
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
no ip redirects
no ip unreachables
no ip proxy-arp
pvc 0/38
oam-pvc manage
pppoe-client dial-pool-number 1
!
!
interface FastEthernet1
no ip address
duplex auto
speed auto
!
interface FastEthernet2
no ip address
duplex auto
speed auto
!
interface FastEthernet3
no ip address
duplex auto
speed auto
!
interface FastEthernet4
no ip address
duplex auto
speed auto
!
interface Dialer0
description $FW_OUTSIDE$
ip address negotiated
ip access-group 101 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip mtu 1452
ip nat outside
ip inspect SDM_LOW out
encapsulation ppp
ip route-cache flow
dialer pool 1
dialer-group 1
ppp authentication chap pap callin
ppp chap hostname <username>
ppp chap password 7 151C0E0F0C2B222229
ppp pap sent-username <username> net password 7 030A5E080E0E284A4F
crypto map SDM_CMAP_1
!
ip nat inside source route-map SDM_RMAP_2 interface Dialer0 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
ip route <server1> 255.255.255.255 Dialer0
ip route <server2> 255.255.255.255 Dialer0
ip route <PIX> 255.255.255.255 Dialer0
ip http server
ip http access-class 2
no ip http secure-server
!
!
ip access-list extended Mick
permit ip host 192.168.0.100 host <server1>
permit ip host 192.168.0.100 host <server2>
logging trap debugging
access-list 1 remark INSIDE_IF=Ethernet0
access-list 1 remark SDM_ACL Category=2
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 2 remark HTTP Access-class list
access-list 2 remark SDM_ACL Category=1
access-list 2 permit 192.168.0.0 0.0.0.255
access-list 2 deny any
access-list 100 remark auto generated by SDM firewall configuration
access-list 100 remark SDM_ACL Category=1
access-list 100 deny ip host 255.255.255.255 any
access-list 100 deny ip 127.0.0.0 0.255.255.255 any
access-list 100 permit icmp host 192.168.0.100 host <server1>
access-list 100 permit ip any any
access-list 101 remark auto generated by SDM firewall configuration
access-list 101 remark SDM_ACL Category=1
access-list 101 permit ip host <server1> host 192.168.0.100
access-list 101 permit ip host <server2> host 192.168.0.100
access-list 101 permit ip host <server2> host 192.168.0.100
access-list 101 permit udp host <PIX> any eq non500-isakmp
access-list 101 permit udp host <PIX> any eq isakmp
access-list 101 permit esp host <PIX> any
access-list 101 permit ahp host <PIX> any
access-list 101 permit udp host <DNS1> eq domain any
access-list 101 permit udp host <DNS2> eq domain any
access-list 101 deny ip 192.168.0.0 0.0.0.255 any
access-list 101 permit icmp any any echo-reply
access-list 101 permit icmp any any time-exceeded
access-list 101 permit icmp any any unreachable
access-list 101 deny ip 10.0.0.0 0.255.2
access-list 101 deny ip 172.16.0.0 0.15.255.255 any
access-list 101 deny ip 192.168.0.0 0.0.255.255 any
access-list 101 deny ip 127.0.0.0 0.255.255.255 any
access-list 101 deny ip host 255.255.255.255 any
access-list 101 deny ip host 0.0.0.0 any
access-list 101 deny ip any any log
access-list 102 remark VTY Access-class list
access-list 102 remark SDM_ACL Category=1
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
access-list 102 deny ip any any
access-list 104 remark SDM_ACL Category=2
access-list 104 deny ip host 192.168.0.100 host <server2>
access-list 104 deny ip host 192.168.0.100 host <server1>
access-list 104 permit ip 192.168.0.0 0.0.0.255 any
dialer-list 1 protocol ip permit
no cdp run
route-map SDM_RMAP_2 permit 1
match ip address 104
!
banner login ^CAuthorized access only!
Disconnect IMMEDIATELY if you are not an authorized user!
^C
!
line con 0
password 7 0509521C29495C
login authentication local_authen
no modem enable
transport output telnet
line aux 0
login authentication local_authen
transport output telnet
line vty 0 4
access-class 102 in
authorization exec local_author
login authentication local_authen
transport input telnet ssh
!
scheduler max-task-time 5000
scheduler interval 500
!
end

UAT_VPN_01#
 
This SDM config is an over-complicated mess. SDM is often not the best way to do things.

For a start: change

"match address Mick" to "match address 104" assuming that ACL 104 is the list to trigger the tunnel.

hope this helps (a bit)

MCP,CCA, Net+, 1 quarter CCNP...
 
Have you tried pinging the server from 192.168.0.100 workstation. Sometimes interesting traffic will start the VPN. If it does not I would like to suggest the following:
1.) Re-enable ip unreachables on all interface except NULL0
2.) Re-enable ip proxy-arp on all interfaces and try pinging again.
Do a show crypto isa sa form the router command line and see if there is any attempt to establish the tunnel. I recently had problems with SDM and these two items actually killing certain connections. Once they were removed everything worked great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top