NettableWalker
IS-IT--Management
Hi,
I've been trying to create a VPN from home to my office but can't get any IPSEC action to happen at all. The office has a Cisco 1721 with several other site to site shared key VPN's currently working ok, but i just can't get the 837 to work. Can you check out this config and see if there is just anything missing or are there any specific things to watch out for when dealing with ADSL and VPN?
cheers,
Hellbabe
!
hostname Ray837
!
logging buffered 51200 debugging
no logging console
enable secret xxxxxxxxxxxxxxxxxxx
ip cef
no ip domain lookup
ip domain name local
ip name-server xxxxxxxxxxx
ip name-server xxxxxxxxxxx
no ip bootp server
ip inspect name DEFAULT100 cuseeme
ip inspect name DEFAULT100 ftp
ip inspect name DEFAULT100 rcmd
ip inspect name DEFAULT100 http
ip inspect name DEFAULT100 realaudio
ip inspect name DEFAULT100 smtp
ip inspect name DEFAULT100 tftp
ip inspect name DEFAULT100 tcp
ip inspect name DEFAULT100 udp
ip inspect name DEFAULT100 icmp
username xxxxxx privilege 15 password xxxxxxxxxxxxxxxxxx
!
crypto isakmp policy 2
authentication pre-share
group 1
hash md5
lifetime 7200
crypto isakmp key testkey address xxxxxxxxxxx
!
crypto ipsec security-association lifetime kilobytes 5242880
crypto ipsec security-association lifetime seconds 1800
!
crypto ipsec transform-set ray esp-des ah-md5-hmac
!
crypto map testvpn 15 ipsec-isakmp
set transform-set ray
set peer xxxxxxxxxxxxxxx
set pfs group1
match address 125
!
interface Null0
no ip unreachables
!
interface Ethernet0
description Connected to Local Network
ip address 10.5.0.203 255.255.0.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache flow
hold-queue 100 out
!
interface Ethernet2
no ip address
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
no ip mroute-cache
atm vc-per-vp 64
crypto map testvpn
no atm auto-configuration
no atm ilmi-keepalive
no atm address-registration
no atm ilmi-enable
dsl operating-mode auto
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
interface Dialer1
ip address negotiated
ip access-group 100 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip inspect DEFAULT100 in
crypto map testvpn
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxxxxxxxxxxx
ppp chap password xxxxxxxxxxxxxxxxx
ppp pap sent-username xxxxxxxxxxxxxxx password xxxxxxxxxxxxxxx2
ppp ipcp dns request
ppp ipcp wins request
hold-queue 224 in
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
no ip http secure-server
!
ip nat inside source list 102 interface Dialer1 overload
!
access-list 10 remark Telnet Access
access-list 10 permit 10.0.0.0 0.255.255.255
access-list 100 remark ----- Inbound ACL -----
access-list 100 deny ip any any log
access-list 102 permit ip 10.0.0.0 0.255.255.255 any
access-list 125 remark VPN Access
access-list 125 permit ip 10.5.0.0 0.0.255.255 10.0.0.0 0.0.255.255
dialer-list 1 protocol ip permit
!
!
control-plane
!
banner login ^Authorised users only, all access is logged.^C
!
line con 0
exec-timeout 300 0
login local
no modem enable
transport output telnet
stopbits 1
line aux 0
login local
transport output telnet
stopbits 1
line vty 0 4
session-timeout 15 output
access-class 10 in
exec-timeout 300 0
password 7 xxxxxxxxxxx
login local
transport input telnet ssh
!
no scheduler max-task-time
scheduler interval 500
end
Ray837#
I've been trying to create a VPN from home to my office but can't get any IPSEC action to happen at all. The office has a Cisco 1721 with several other site to site shared key VPN's currently working ok, but i just can't get the 837 to work. Can you check out this config and see if there is just anything missing or are there any specific things to watch out for when dealing with ADSL and VPN?
cheers,
Hellbabe
!
hostname Ray837
!
logging buffered 51200 debugging
no logging console
enable secret xxxxxxxxxxxxxxxxxxx
ip cef
no ip domain lookup
ip domain name local
ip name-server xxxxxxxxxxx
ip name-server xxxxxxxxxxx
no ip bootp server
ip inspect name DEFAULT100 cuseeme
ip inspect name DEFAULT100 ftp
ip inspect name DEFAULT100 rcmd
ip inspect name DEFAULT100 http
ip inspect name DEFAULT100 realaudio
ip inspect name DEFAULT100 smtp
ip inspect name DEFAULT100 tftp
ip inspect name DEFAULT100 tcp
ip inspect name DEFAULT100 udp
ip inspect name DEFAULT100 icmp
username xxxxxx privilege 15 password xxxxxxxxxxxxxxxxxx
!
crypto isakmp policy 2
authentication pre-share
group 1
hash md5
lifetime 7200
crypto isakmp key testkey address xxxxxxxxxxx
!
crypto ipsec security-association lifetime kilobytes 5242880
crypto ipsec security-association lifetime seconds 1800
!
crypto ipsec transform-set ray esp-des ah-md5-hmac
!
crypto map testvpn 15 ipsec-isakmp
set transform-set ray
set peer xxxxxxxxxxxxxxx
set pfs group1
match address 125
!
interface Null0
no ip unreachables
!
interface Ethernet0
description Connected to Local Network
ip address 10.5.0.203 255.255.0.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
ip route-cache flow
hold-queue 100 out
!
interface Ethernet2
no ip address
shutdown
hold-queue 100 out
!
interface ATM0
no ip address
no ip mroute-cache
atm vc-per-vp 64
crypto map testvpn
no atm auto-configuration
no atm ilmi-keepalive
no atm address-registration
no atm ilmi-enable
dsl operating-mode auto
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
interface Dialer1
ip address negotiated
ip access-group 100 in
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat outside
ip inspect DEFAULT100 in
crypto map testvpn
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxxxxxxxxxxx
ppp chap password xxxxxxxxxxxxxxxxx
ppp pap sent-username xxxxxxxxxxxxxxx password xxxxxxxxxxxxxxx2
ppp ipcp dns request
ppp ipcp wins request
hold-queue 224 in
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
!
no ip http server
no ip http secure-server
!
ip nat inside source list 102 interface Dialer1 overload
!
access-list 10 remark Telnet Access
access-list 10 permit 10.0.0.0 0.255.255.255
access-list 100 remark ----- Inbound ACL -----
access-list 100 deny ip any any log
access-list 102 permit ip 10.0.0.0 0.255.255.255 any
access-list 125 remark VPN Access
access-list 125 permit ip 10.5.0.0 0.0.255.255 10.0.0.0 0.0.255.255
dialer-list 1 protocol ip permit
!
!
control-plane
!
banner login ^Authorised users only, all access is logged.^C
!
line con 0
exec-timeout 300 0
login local
no modem enable
transport output telnet
stopbits 1
line aux 0
login local
transport output telnet
stopbits 1
line vty 0 4
session-timeout 15 output
access-class 10 in
exec-timeout 300 0
password 7 xxxxxxxxxxx
login local
transport input telnet ssh
!
no scheduler max-task-time
scheduler interval 500
end
Ray837#