Skip to main content
rolo
New Member
Nov 9, 2020 1:09 PM UTC
Question

IPsec Between Fortinet and Mikrotik

Hello, I don't have much experience with this stuff and have a little problem if anyone can help me would be great. i have FortiGate 40F on one side and Mikrotik 2011 on another side. i managed to build IPsec between those 2 and IP sec is UP.

But there is problem i can't have ping or any kind of connection between those 2 networks. On mikrotik i have 192.168.1.0/24 network and on fortinet side i got 192.168.60.0/24 network on Lan ports. If anyone can help me to tell me what should i check to find the problem i haven't much experience with fortigate.

[link]https://ibb.co/0rnHQxN[/link] [link]https://ibb.co/JHwWsW8[/link] [link]https://ibb.co/kHKH6Lp[/link] [link]https://ibb.co/XLPxgD9[/link] [link]https://ibb.co/ysgG7Dy[/link] [link]https://ibb.co/L8vtmf7[/link] [link]https://ibb.co/q59nccM[/link]

11 replies

Toshi_Esumi
SuperUser
SuperUser
Nov 9, 2020 5:31 PM UTC

I don't see any particular problem on the 40F config, although I would remove the second static route for 192.168/16. But it shouldn't break anything even if it's there.

I would suspect the other side, but first sniff packets on the FGT while you ping from FGT's local toward the other side. You need to disable asic offloading (set auto-asic-offload diable) on both policies in CLI to see all packets. Don't forget to reenable it after you're done.

 

Translate
Jirka1
Explorer II
Nov 9, 2020 5:51 PM UTC

Hi, do you have a rule on Mikrotik in NAT that allows communication between subnets? It must be placed in front of a global masquerade or NAT. 

 

 /ip firewall nat> add src-address 192.168.1.0/24 dst-address 192.168.60.0/24 action=accept

 

We operate about 20+ IPsec tunnels between Mikrotik and FGT and it's rock stable.

 

Jirka

Translate
rolo
roloAuthor
New Member
Nov 9, 2020 9:28 PM UTC

Hi, Thanks for replying me, yes i've created that rule too on mikrotik side i think it should be like that 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024