- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Problem with PING between IPsec
Hello.
I have problem with PING between IPsec in my project.
My network is built partly in GNS3 and partly physically at home .
In GNS3 i have 2 devices FortiGate with IPadr: 10.1.20.1(name BYD) and 10.3.90.1(name WAW)
Physically in home i have ForitGate with IPadr: 10.0.90.1 (name GDA)
IP Address IPsec GDA: 192.168.0.201
IP Address IPsec BYD: 192.168.0.200
IP Address IPsec WAW: 192.168.0.203
Everything looks good but i have problem with ping from GDA to BYD and WAW.
IPsec between all sites working good, and PING from BYD and WAW goes to GDA. PING between BYD and WAW also works good.
IPv4 Policy BYD:
IPv4 Policy WAW:
IPv4 Policy GDA:
In addition, I have a static route set as below
BYD:
WAW:
GDA:
Administrative distanse everywhere 1 and blackhole 254
Someone will help solve the problem??
- Labels:
-
FortiGate

Created on ‎03-09-2022 02:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for using Community.
Are these the screen captures when you tried pinging from GDA-BYD/WAW? If it is, it seems that the interface 'LAN' configured in GDA is not up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ping from WAW and BYD to GDA from CLI Forti
PING from GDA to WAW nad BYD from CLI Forti

Created on ‎03-09-2022 02:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What I may propose is to look what is happening to the packets/traffic flow. Please try the following commands when ping:
diag debug enable
diag debug flow filter addr <ipaddr4>
diag debug flow trace start 1000
diag debug flow trace stop
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ping from GDA to WAW and BYD
BYD to GDA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sebix,
The error "no matching IPsec selector, drop" is seen in the firewall GDA-FW.
Check the traffic selectors under phase2 config (source subnet 192.168.0.x, destination subnet 10.3.90.x). Also you may share the output for diag vpn tunnel list name <VPN name> for better understanding.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IPsec config GDA to WAW
interface wan1 - 192.168.0.201
Phase2 GDA to WAW
DIAG
@vponmuniraj
@Anonymous
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sebix,
Looking at the flow debug and the output, it looks like the ping to 10.3.90.1 & 10.1.20.1 are sourcing from IP 192.168.0.201. (probably because tunnel interface has no IP).
Check the below from GDA:
exec ping-option source 10.0.90.1
exec ping 10.3.90.1
exec ping 10.1.20.1
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ping from GDA to WAW with source 10.0.90.1
I tryed figure it out and
When I add Policy rulles on WAW
And BYD
Then PING from GDA works fine.
