Hi everyone,
I simply cannot understand why this doesn't work. Im trying to connect a pix 501 to a m0n0wall. Using the example in the m0n0wall documentation. Below is a dumb of error log from the pix and the monowall and in the end the pix 501 configuration. The cisco documentation stats that its one of the to following
The crypto map map-name local-address interface-id command causes the router to use an incorrect address as the identity because it forces the router to use a specified address.
Crypto map is applied to the wrong interface or is not applied at all. Check the configuration in order to ensure that crypto map is applied to the correct interface.
But i can't figure out where ??
Any help is much appreciated!.
LAN site A 10.0.0.0/24 eksten ip xxx.xxx.110.120
LAN site B 172.17.0.0 ekstern ip xxx.xxx.18.165
------------------------------------------------------------ -------------------------------------
Dump fra Cisco PIX Firewall Version 6.3(4)
using debug crypto isakmp, engine, ipsec
ISAKMP : Checking IPSec proposal 1
ISAKMP: transform 1, ESP_3DES
ISAKMP: attributes in transform:
ISAKMP: SA life type in seconds
ISAKMP: SA life duration (VPI) of 0x0 0x1 0x51 0x80
ISAKMP: encaps is 1
ISAKMP: authenticator is HMAC-MD5
ISAKMP: group is 2IPSEC(validate_proposal): invalid local address xxx.xxx.110.120
ISAKMP (0): atts not acceptable. Next payload is 0
ISAKMP (0): SA not acceptable!
ISAKMP (0): sending NOTIFY message 14 protocol 0
return status is IKMP_ERR_NO_RETRANS
crypto_isakmp_process_block:src:xxx.xxx.18.162, dest:xxx.xxx.110.120 spt:500 dpt:500
ISAKMP: reserved not zero on payload 8!
ISAKMP: malformed payload
crypto_isakmp_process_block:src:xxx.xxx.18.162, dest:xxx.xxx.110.120 spt:500 dpt:500
ISAKMP: reserved not zero on payload 8!
ISAKMP: malformed payload
crypto_isakmp_process_block:src:xxx.xxx.18.162, dest:xxx.xxx.110.120 spt:500 dpt:500
OAK_QM exchange
oakley_process_quick_mode:
OAK_QM_IDLE
ISAKMP (0): processing SA payload. message ID = 3712134169
------------------------------------------------------------ --------------------------
Dump from monowall version 1.3b2
Aug 11 19:40:22 racoon: INFO: @(#)ipsec-tools 0.6.6
(
http://ipsec-tools.sourceforge.net)
Aug 11 19:40:22 racoon: INFO: @(#)This product linked OpenSSL 0.9.7e-p1 25 Oct
2004 (
http://www.openssl.org/)
Aug 11 19:40:22 racoon: INFO: 127.0.0.1[500] used as isakmp port (fd=8)
Aug 11 19:40:22 racoon: INFO: 127.0.0.1[500] used for NAT-T
Aug 11 19:40:22 racoon: INFO: 10.0.0.1[500] used as isakmp port (fd=9)
Aug 11 19:40:22 racoon: INFO: 10.0.0.1[500] used for NAT-T
Aug 11 19:40:22 racoon: INFO: 10.0.1.1[500] used as isakmp port (fd=10)
Aug 11 19:40:22 racoon: INFO: 10.0.1.1[500] used for NAT-T
Aug 11 19:40:22 racoon: INFO: xxx.xxx.18.162[500] used as isakmp port (fd=11)
Aug 11 19:40:22 racoon: INFO: xxx.xxx.18.162[500] used for NAT-T
Aug 11 19:40:23 racoon: INFO: IPsec-SA request for xxx.xxx.110.120 queued due to
no phase1 found.
Aug 11 19:40:23 racoon: INFO: initiate new phase 1 negotiation:
xxx.xxx.18.162[500]<=>xxx.xxx.110.120[500]
Aug 11 19:40:23 racoon: INFO: begin Aggressive mode.
Aug 11 19:40:24 racoon: INFO: received Vendor ID:
draft-ietf-ipsra-isakmp-xauth-06.txt
Aug 11 19:40:24 racoon: INFO: received Vendor ID: DPD
Aug 11 19:40:24 racoon: INFO: received Vendor ID: CISCO-UNITY
Aug 11 19:40:24 racoon: WARNING: No ID match.
Aug 11 19:40:24 racoon: NOTIFY: couldn't find the proper pskey, try to get one
by the peer's address.
Aug 11 19:40:24 racoon: INFO: ISAKMP-SA established
xxx.xxx.18.162[500]-xxx.xxx.110.120[500] spi:1042d73d5452fc1d:ddea875e1756b029
Aug 11 19:40:24 racoon: INFO: initiate new phase 2 negotiation:
xxx.xxx.18.162[500]<=>xxx.xxx.110.120[500]
Aug 11 19:40:54 racoon: ERROR: xxx.xxx.110.120 give up to get IPsec-SA due to
time up to wait.
Aug 11 19:41:02 racoon: INFO: initiate new phase 2 negotiation:
xxx.xxx.18.162[500]<=>xxx.xxx.110.120[500]
Aug 11 19:41:03 racoon: ERROR: unknown notify message, no phase2 handle found.
------------------------------------------------------------ ------------------------------------- ------------
PIX running cofiguration:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XPGhoaR00ljP5mK1 encrypted
passwd XPGhoaR00ljP5mK1 encrypted
hostname lan1pix62gw
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list allow-ping permit icmp any any echo-reply
access-list allow-ping permit icmp any any unreachable
access-list monovpn permit ip 172.17.0.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list no-nat permit ip 172.17.0.0 255.255.255.0 10.0.0.0 255.255.255.0
access-list no-nat permit ip 10.0.0.0 255.255.255.0 172.17.0.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside dhcp setroute
ip address inside 172.17.0.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 access-list no-nat 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group allow-ping in interface outside
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 172.17.0.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set monovpnset esp-3des esp-md5-hmac
crypto ipsec security-association lifetime seconds 86400 kilobytes 50000
crypto map monovpnmap 10 ipsec-isakmp
crypto map monovpnmap 10 match address monovpn
crypto map monovpnmap 10 set peer xxx.xxx.18.162
crypto map monovpnmap 10 set transform-set monovpnset
isakmp enable outside
isakmp key ******** address xxx.xxx.18.162 netmask 255.255.255.255
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash md5
isakmp policy 10 group 2
isakmp policy 10 lifetime 86400
telnet 172.17.0.0 255.255.255.0 inside
telnet timeout 5
ssh timeout 5
console timeout 0
dhcpd address 172.17.0.100-172.17.0.254 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
username admin password XPGhoaR00ljP5mK1 encrypted privilege 15
terminal width 80
Cryptochecksum:9944eec7ed77df06dc9d740e9943a15f
: end