08-14-2017 02:02 PM - edited 02-21-2020 09:24 PM
Hello,
Private --PFSENSE (Public IP ) <------------Internet -----------> Bell Modem (Public IP)-----NAT-----Outside-ASA-Inside
I have configured a Site-to-Site VPN between Pfsens and ASA 5505. And ASA is behind NAT With Private ip on the Outside interface.
Bell hub 1000 is the main modem with public ip and it is forwarding everything to ASA outside interface.
And for some reason ASA can get public ip so i have to use Bell modem and NAT it to ASA.
I have configured IKEv1 with pre-shared key and NAT-T is also enabled. But it is not able to establish the tunnel for Phase1.
It fails the IKEv1 information exchange.
So, what do i need to change to make it working ?
08-14-2017 04:59 PM
Hi kaushal22,
Please share a sanitized config so we can help you identifying the issue.
Hope this info helps!!
Rate if helps you!!
-JP-
08-14-2017 06:24 PM
08-15-2017 12:22 AM
You need to share the debugs on the ASA:
debug cry ikev1 128
Ensure NAT traversal is enabled on both the ASA and the PFSense. Since that the ASA is behind a device that is doing NAT.
Finally, those packet captures will show exactly what is happening:
capture isakmp interface outside match udp any host <remote-peer-public-address>
Then copy the content of the captures:
copy /pcap capture:capout tftp://
or via a browser:
https://asa-address/capture/capout/pcap
Ensure udp 4500 is allowed in the path.
Moh.
08-15-2017 06:37 AM
08-15-2017 07:11 AM
Hi,
you see in the debugs that we fail the negotiation with the peer from this error:
NONCE (10) + VENDOR (13) + VENDOR (13) + VENDOR (13) + VENDOR (13) + NAT-D (20) + NAT-D (20) + NONE (0) total length : 304 Aug 15 09:30:17 [IKEv1]IKE Receiver: Packet received on 192.168.10.2:500 from 1.1.1.1:500 Aug 15 09:30:17 [IKEv1]IP = 1.1.1.1, IKE_DECODE RECEIVED Message (msgid=810688ff) with payloads : HDR + NOTIFY (11) + NONE (0) total length : 56 Aug 15 09:30:17 [IKEv1]IP = 1.1.1.1, IKE_DECODE RECEIVED Message (msgid=810688ff) with payloads : HDR + NOTIFY (11) + NONE (0) total length : 56 Aug 15 09:30:17 [IKEv1]Group = 1.1.1.1, IP = 1.1.1.1, Received an un-encrypted INVALID_KEY_INFO notify message, dropping Aug 15 09:30:17 [IKEv1]Group = 1.1.1.1, IP = 1.1.1.1, Information Exchange processing failed
What is the peer ? is it a cisco ASA ? if yes do they have a valid tunnel group configured for the ASA?
Cheers.
08-15-2017 07:20 AM
Hi,
Remote Peer is a Pfsense not ASA.
And all the configs are correct on that side.
08-15-2017 02:18 PM
Hi,
ASA is clearly sending MM4 and getting a termination from the other side. this is from the rfc:
https://tools.ietf.org/id/draft-ietf-ipsec-notifymsg-00.txt
2.17 INVALID-KEY-INFORMATION The INVALID-KEY-INFORMATION error message may be used to communicate that the key exchange type specified by the key exchange payload is not supported. Phase: 1 or 2 Differentiator: Cookies, message ID, KE payload When present, the Notification Payload MUST have the following format: o Payload Length - set to length of payload + size of data (var) o DOI - set to DOI of received packet o Protocol ID - set to selected Protocol ID from chosen SA o SPI Size - set to either zero (0) or four (4)(one IPSEC SPI) o Notify Message Type - set to INVALID-KEY-INFORMATION o SPI - set to empty or to the sender's inbound IPSEC SPI o Notification Data - contains the subject key exchange payload
please share debugs from the pfsense.
You also have some policies that uses crack authentication which is not used nowadays. Please clean those. to see what is being negotiated:
debug cry isa 255
Moh
08-15-2017 06:45 AM
Hi,
As per the debug, the issue seems to be on the remote peer.
Can you check if you have used a correct IP on the remote peer?
Regards,
Aditya
Please rate helpful and mark correct answers
08-14-2017 09:39 PM
Hi,
Can you share the outputs of following debugs from the ASA:
debug cry ikev1 200
debug cry
Regards,
Aditya
Please rate helpful and mark correct answers
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide