{"id":9530,"date":"2026-04-06T21:50:40","date_gmt":"2026-04-06T21:50:40","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=9530"},"modified":"2026-04-06T21:50:40","modified_gmt":"2026-04-06T21:50:40","slug":"how-to-use-azure-vpn-gateway-with-fortigate","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-use-azure-vpn-gateway-with-fortigate","title":{"rendered":"How to use Azure VPN Gateway with Fortigate"},"content":{"rendered":"\n<p>We have gone from a setup which did the Site to Site VPNs via a Azure VPN Gateway as well as the Point to Site VPNs.<\/p>\n\n\n\n<p>We are migrating to a Fortigate in Azure to give Users a static IP Outbound. We will Migrate Site to Site VPNS to this also.<\/p>\n\n\n\n<p>We want to keep the Azure VPN Gateway for Point to Site as the Client supports SAML and also you don&#8217;t need to pay for the client upgrades like you do with Fortigate<\/p>\n\n\n\n<p>Setup Fortigate via Marketplace &#8211; See this for what you have to to <a href=\"https:\/\/pariswells.com\/blog\/research\/errors-when-deploying-azure-fortigate-from-marketplace-in-azure\">https:\/\/pariswells.com\/blog\/research\/errors-when-deploying-azure-fortigate-from-marketplace-in-azure<\/a><\/p>\n\n\n\n<p>For example you&#8217;ve set the internal IP Fortigate to 10.5.6.4<\/p>\n\n\n\n<p>You will need to setup 2 new Routes<\/p>\n\n\n\n<p>A route that attaches to your Server Subnets  routes all traffic apart from Local Traffic to Fortigate<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"814\" height=\"251\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-1.png\" alt=\"\" class=\"wp-image-9532 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-1.png 814w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-1-300x93.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-1-768x237.png 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><\/a><\/figure>\n\n\n\n<p><br>A Route for the Azure VPN Gateway Subnet that Routes ALL Traffic to Fortigate. You have to divide the Subnet by 2 as a Route Table on the Gateway Subnet Doesn&#8217;t support 0.0.0.0\/0<br><\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"809\" height=\"213\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image.png\" alt=\"\" class=\"wp-image-9531 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image.png 809w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-300x79.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-768x202.png 768w\" sizes=\"auto, (max-width: 809px) 100vw, 809px\" \/><\/a><\/figure>\n\n\n\n<p>On the VPN Gateway you will want to add all the Routes to any Site to Site VPNs<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"797\" height=\"170\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-2.png\" alt=\"\" class=\"wp-image-9534 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-2.png 797w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-300x64.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-2-768x164.png 768w\" sizes=\"auto, (max-width: 797px) 100vw, 797px\" \/><\/a><\/figure>\n\n\n\n<p>Push the PPTP Subnet Back to Internal Port on the Fortigate<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"31\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3-1024x31.png\" alt=\"\" class=\"wp-image-9536 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3-1024x31.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3-300x9.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3-768x23.png 768w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3-1536x47.png 1536w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2026\/04\/image-3.png 1677w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>For Users that want to have their outbound internet via Fortigate for Static IP you will need to deploy new Azure VPN Config with the below Added<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\"> &lt;includeroutes>\n      &lt;route>\n          &lt;destination>0.0.0.0&lt;\/destination>&lt;mask>1&lt;\/mask>\n      &lt;\/route>\n      &lt;route>\n          &lt;destination>128.0.0.0&lt;\/destination>&lt;mask>1&lt;\/mask>\n      &lt;\/route>\n  &lt;\/includeroutes><\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have gone from a setup which did the Site to Site VPNs via a Azure VPN Gateway as well as the Point to Site VPNs. We [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9530","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=9530"}],"version-history":[{"count":3,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9530\/revisions"}],"predecessor-version":[{"id":9537,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9530\/revisions\/9537"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=9530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=9530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=9530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}