Skip to main content
AlexandreP
New Member
November 16, 2022
Solved

One way ping site-to-site AWS vpn tunnel

  • November 16, 2022
  • 1 reply
  • 4705 views

For a client, I am trying to setup a vpn site-to-site from a local Fortigate 200F, firmware 7.2.3, to the AWS site-to-site connectors.

 

I succeded to make it so I could ping from AWS to a local machine, but ping from a local machine to a AWS machine would not work.

 

How I did it and config

 

I went in the docs of AWS and Fortinet, followed them, then downloaded the IKDv2 configuration file, followed the instructions, and it was pretty smooth for those parts.*

AlexandreP_5-1668560500954.png

 

Fortigate Network IPSEC tunnels section here:

AlexandreP_7-1668560541325.png

Fortigate routes here:

AlexandreP_8-1668560600239.png

 

 

*In this post, I'll only talk about one tunnel, and I'll ask the community about the two tunnels failover in another post.

 

So the route on AWS side are working and I suspect that the AWS side is not the cause here:

AlexandreP_0-1668560080767.png

 

My Firewall policies are there:

AlexandreP_1-1668560136311.png

 

AlexandreP_2-1668560177060.png

 

AlexandreP_3-1668560189762.png

 

And If I DENY my AWS VPN to the local LAN, the pings from AWS to local LAN stops, so this is proof that that direction goes by the Firewall.

AlexandreP_4-1668560259077.png

If I reverse that by putting "AWSVPN to LAN" to ACCEPT, and "LAN to ASWS VPN" to DENY, there is no difference to my problem obliviously.

 

 

Any hint in the right direction would be apreciated! Thanks.

 

 

 

Best answer by AlexandreP

Thanks. I'll probably go the Forti-VM to Fortigate way. I have a similar setup right now with my current Peplink router. And of course, when you connect vendor1 to vendor1 routers, problems go away ;)

1 reply

distillednetwork
Explorer II
November 16, 2022

The best thing to do would be to run a flow filter to determine what is happening.  Try running the following in the cli:

 

diag debug flow filter addr <ip of aws machine>

diag debug flow filter proto 1

diag debug enable

diag debug flow trace start 20

 

perform your ping test from a lan PC to the AWS machine and see what the logs show it is doing with the traffic.

AlexandreP
New Member
November 18, 2022

I'll test that soon and let you know, thanks.