Skip to main content
ahmed_habarab
New Member
Mar 16, 2025 9:43 AM UTC
Question

Site To Site VPN

How i can Connect Two Site through vpn in different countries and one country block ipsec VPN if i am  using
site a and site b two public ip
or site a public  and site b dynamic

2 replies

Sheikh
Staff
Staff
Mar 16, 2025 12:12 PM UTC

Hello @ahmed_habarab 

 

Have a look into this  Technical Tip: IPsec VPN between static and dynamic IP (FQDN) 

 

regards,

 

Sheikh

Translate
If you have found a solution, please like and mark it as solved to make it easily accessible for everyone.
AEK
SuperUser
SuperUser
Mar 16, 2025 8:19 PM UTC

I don't how this country blocks IPsec, but in case it blocks ESP (IP 50) or port 500 or 4500 then you may try change the port number and force NAT-T in IPsec config. You need to do it on both FortiGates.

config system settings
  set ike-port 5000
end

config vpn ipsec phase1-interface
edit tunnel-name
set nattraversal forced
end
end

I didn't try it but I hope it helps.

Translate
AEK
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