?
Solved

Fortigate IPSEC VPN with NAT to Cisco

Posted on 2010-08-24
5
Medium Priority
?
7,609 Views
Last Modified: 2012-06-22
Hi there,

I am trying to configure my fortigate 60b to IPSEC to a remote VPN site but has failed badly. The remote VPN is managed by an external vendor and the log provided by them shows

--------Cisco Log--------
%ASA-5-713075: Group = 192.168.10.1, IP = 192.168.10.1, Overriding Initiator's IPSec rekeying duration from 90000 to 28800 seconds
%ASA-6-602303: IPSEC: An outbound LAN-to-LAN SA (SPI= 0x3204778E) between 165.21.21.21 and 192.168.10.1 (user= 192.168.10.1) has been created.
%ASA-5-713049: Group = 192.168.10.1, IP = 192.168.10.1, Security negotiation complete for LAN-to-LAN Group (192.168.10.1)  Responder, Inbound SPI = 0x282d31a3, Outbound SPI = 0x3204778e
%ASA-6-602303: IPSEC: An inbound LAN-to-LAN SA (SPI= 0x282D31A3) between 165.21.21.21 and 192.168.10.1 (user= 192.168.10.1) has been created.
%ASA-5-713120: Group = 192.168.10.1, IP = 192.168.10.1, PHASE 2 COMPLETED (msgid=760d9eaf)
%ASA-4-402116: IPSEC: Received an ESP packet (SPI= 0x282D31A3, sequence number= 0x1) from 192.168.10.1 (user= 192.168.10.1) to 165.21.21.21.  The decapsulated inner packet doesn't match the negotiated policy in the SA.  The packet specifies its destination as APP_SVR_A, its source as 10.65.57.235, and its protocol as 6.  The SA specifies its local proxy as 192.168.123.0/255.255.255.224/0/0 and its remote_proxy as 192.168.10.1/255.255.255.255/0/0.
----------------

The following is a brief desription

192.168.10.1 = Local WAN interface
165.21.21.21 = Remote VPN gateway
192.168.123.0 = Remote network behind VPN gateway
10.65.57.224/255.255.255.240 = Outgoing NAT IP
APP_SVR_A = Some remote server
10.65.57.235 = client NAT IP

Basically I need to configure the Fortigate to establish IPSEC to remote Cisco device. The ACL over at remote site specifies that only client from 10.65.57.224/255.255.255.240 can access the remote network. So NATing is required to NAT all outgoing traffic.

The following is the fortigate 60b config

---- start firewall config ----
set srcintf "internal"
set dstintf "wan1"
set srcaddr "Local Network"
set dstaddr "Remote Network"
set action ipsec
set schedule "always"
set service "ANY"
set natip 10.65.57.224 255.255.255.240
set inbound enable
set outbound enable
set natoutbound enable
set vpntunnel "VPN DR"
---- end firewall config ----

---- start phase1 ----
set interface "wan1"
set nattraversal enable
set dhgrp 2
set proposal 3des-sha1
set keylife 172800
set remote-gw 165.21.21.21
set psksecret ENC <somekey>
set keepalive 900
---- end phase1 ----      

---- start phase2 ----
set dhgrp 2
set keepalive enable
set pfs enable
set phase1name "VPN DR"
set proposal 3des-sha1
set replay enable
set dst-subnet 192.168.123.0 255.255.255.224
set keylifeseconds 90000
---- end phas2 ----

As the remote equipments are controlled by external party, the cisco vpn gateway configs were not available. Except the log that was provided.

Can any expert please explain what is meant by the Cisco log? particularly the last line. And how should i configure my fortigate to work with the remote cisco device?
0
Comment
Question by:hayami
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 24

Assisted Solution

by:rfc1180
rfc1180 earned 1000 total points
ID: 33517262
Tell the ASA side to change the ACL from 192.168.10.1 255.255.255.255 to 10.65.57.224 255.255.255.240;

your config looks fine, the ASA Cisco log shows what is happening:

Phase 2 is completing, but there are no matching Proxy IDs
You are natting, so I am not sure what more they want, but really tell them to change the ACL to 10.65.57.224 255.255.255.240 from 192.168.10.1 255.255.255.255


Billy
0
 

Author Comment

by:hayami
ID: 33517327
unfortunately that is not going to happened because the vendor is incharged of the other side and they claimed that fortigate can be configured to meet their needs. unless based on the logs i can find that their ACL is wrong, else there is nothing i can do but to try to make it work.

i am particularly curious of this line

The SA specifies its local proxy as 192.168.123.0/255.255.255.224/0/0 and its remote_proxy as 192.168.10.1/255.255.255.255/0/0.

does it mean that the SA is expecting 192.168.10.1 to access instead of 10.65.57.224 255.255.255.240?
0
 
LVL 24

Accepted Solution

by:
rfc1180 earned 1000 total points
ID: 33517381
>does it mean that the SA is expecting 192.168.10.1 to access instead of 10.65.57.224 255.255.255.240?
Yes

their side is wrong, you can not NAT to the outside interface if it is the end point IP. They probably do not want you to use rfc1918 space, so if you have any available public space, you can use that instead.

Billy
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 34434134
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This program is used to assist in finding and resolving common problems with wireless connections.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question