{"id":9196,"date":"2025-08-30T04:50:46","date_gmt":"2025-08-30T04:50:46","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=9196"},"modified":"2025-08-30T05:11:35","modified_gmt":"2025-08-30T05:11:35","slug":"fortigate-device-to-opnsense-site-to-site-vpn","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn","title":{"rendered":"Fortigate Device to Opnsense Site to Site VPN"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Example IP of OpnSense : 1.1.1.1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Local IP of OpenSense : 172.40.1.0\/24<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example IP of Forti : 2.2.2.2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Local IP of Forti : 192.168.13.0\/24<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Forti Config<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">( Remember to add Static Routes and Policies with NAT ) <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">config vpn ipsec phase1-interface\n    edit \"Forti-Opn\"\n        set interface \"port1\"\n        set ike-version 2\n        set keylife 28800\n        set peertype any\n        set net-device disable\n        set proposal aes256-sha256\n        set dhgrp 14\n        set nattraversal enable\n        set transport auto\n        set remote-gw 1.1.1.1\n        set psksecret \"[REDACTED]\"\n    next\nend\nconfig vpn ipsec phase2-interface\n    edit \"Phase2\"\n        set phase1name \"Forti-Opn\"\n        set proposal aes256-sha256\n        set dhgrp 14\n    next\nend<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>OpnSense<\/strong> <strong>Config<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You will need to whitelist VPN Ports on WAN<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/08\/image-34.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"272\" src=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/08\/image-34.png\" alt=\"\" class=\"wp-image-9202 img-responsive\" srcset=\"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/08\/image-34.png 1024w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/08\/image-34-300x80.png 300w, https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/08\/image-34-768x204.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">&lt;preSharedKey uuid=\"7c6e2937-4669-40c8-8d40-bfb61f263fa2\">\n  &lt;ident>1.1.1.1&lt;\/ident>\n  &lt;remote_ident>2.2.2.2&lt;\/remote_ident>\n  &lt;keyType>PSK&lt;\/keyType>\n  &lt;Key>[REDACTED]&lt;\/Key>\n  &lt;description>FG-PSK&lt;\/description>\n&lt;\/preSharedKey><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">IPSECConfig<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">&lt;Connection uuid=\"42820841-7655-4c82-ba28-69819916dcdb\">\n  &lt;enabled>0&lt;\/enabled>\n  &lt;proposals>aes256-sha256-modp2048&lt;\/proposals>\n  &lt;unique>no&lt;\/unique>\n  &lt;aggressive>0&lt;\/aggressive>\n  &lt;version>2&lt;\/version>\n  &lt;mobike>1&lt;\/mobike>\n  &lt;local_addrs>1.1.1.1&lt;\/local_addrs>\n  &lt;local_port\/>\n  &lt;remote_addrs>2.2.2.2&lt;\/remote_addrs>\n  &lt;remote_port\/>\n  &lt;encap>0&lt;\/encap>\n  &lt;reauth_time\/>\n  &lt;rekey_time\/>\n  &lt;over_time\/>\n  &lt;dpd_delay>10&lt;\/dpd_delay>\n  &lt;dpd_timeout\/>\n  &lt;pools\/>\n  &lt;send_certreq>1&lt;\/send_certreq>\n  &lt;send_cert\/>\n  &lt;keyingtries\/>\n  &lt;description>RLBV -FG-S2S&lt;\/description>\n&lt;\/Connection>\n&lt;local uuid=\"9edd4249-c87d-44ef-8cd7-9db703031d2a\">\n  &lt;enabled>1&lt;\/enabled>\n  &lt;connection>42820841-7655-4c82-ba28-69819916dcdb&lt;\/connection>\n  &lt;round>0&lt;\/round>\n  &lt;auth>psk&lt;\/auth>\n  &lt;id>1.1.1.1&lt;\/id>\n  &lt;eap_id\/>\n  &lt;certs\/>\n  &lt;pubkeys\/>\n  &lt;description>LocalID&lt;\/description>\n&lt;\/local>\n&lt;remote uuid=\"73ad72d2-122f-4faf-9e56-a8cb90f6b8dd\">\n  &lt;enabled>1&lt;\/enabled>\n  &lt;connection>42820841-7655-4c82-ba28-69819916dcdb&lt;\/connection>\n  &lt;round>0&lt;\/round>\n  &lt;auth>psk&lt;\/auth>\n  &lt;id>2.2.2.2&lt;\/id>\n  &lt;eap_id\/>\n  &lt;groups\/>\n  &lt;certs\/>\n  &lt;cacerts\/>\n  &lt;pubkeys\/>\n  &lt;description>RemoteID&lt;\/description>\n&lt;\/remote>\n&lt;child uuid=\"c7fad1f8-a4e8-46bb-9298-ce7af5bedb6a\">\n  &lt;enabled>1&lt;\/enabled>\n  &lt;connection>42820841-7655-4c82-ba28-69819916dcdb&lt;\/connection>\n  &lt;reqid\/>\n  &lt;esp_proposals>aes256-sha256-modp2048&lt;\/esp_proposals>\n  &lt;sha256_96>0&lt;\/sha256_96>\n  &lt;start_action>start&lt;\/start_action>\n  &lt;close_action>none&lt;\/close_action>\n  &lt;dpd_action>clear&lt;\/dpd_action>\n  &lt;mode>tunnel&lt;\/mode>\n  &lt;policies>1&lt;\/policies>\n  &lt;local_ts>172.40.1.0\/24&lt;\/local_ts>\n  &lt;remote_ts>192.168.13.0\/24&lt;\/remote_ts>\n  &lt;rekey_time>3600&lt;\/rekey_time>\n  &lt;description\/>\n&lt;\/child><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( [&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-9196","post","type-post","status-publish","format-standard","hentry","category-research"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit &quot;Forti-Opn&quot; set interface &quot;port1&quot; set ike-version 2 set keylife 28800 set peertype any\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit &quot;Forti-Opn&quot; set interface &quot;port1&quot; set ike-version 2 set keylife 28800 set peertype any\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-08-30T04:50:46+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-08-30T05:11:35+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit &quot;Forti-Opn&quot; set interface &quot;port1&quot; set ike-version 2 set keylife 28800 set peertype any\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#article\",\"name\":\"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com\",\"headline\":\"Fortigate Device to Opnsense Site to Site VPN\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/image-34.png\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn\\\/#articleImage\",\"width\":1024,\"height\":272},\"datePublished\":\"2025-08-30T04:50:46+00:00\",\"dateModified\":\"2025-08-30T05:11:35+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#webpage\"},\"articleSection\":\"Research\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#listItem\",\"name\":\"Fortigate Device to Opnsense Site to Site VPN\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#listItem\",\"position\":3,\"name\":\"Fortigate Device to Opnsense Site to Site VPN\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn\",\"name\":\"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com\",\"description\":\"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\\\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\\\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit \\\"Forti-Opn\\\" set interface \\\"port1\\\" set ike-version 2 set keylife 28800 set peertype any\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/fortigate-device-to-opnsense-site-to-site-vpn#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2025-08-30T04:50:46+00:00\",\"dateModified\":\"2025-08-30T05:11:35+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com","description":"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit \"Forti-Opn\" set interface \"port1\" set ike-version 2 set keylife 28800 set peertype any","canonical_url":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#article","name":"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com","headline":"Fortigate Device to Opnsense Site to Site VPN","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/pariswells.com\/blog\/wp-content\/uploads\/2025\/08\/image-34.png","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn\/#articleImage","width":1024,"height":272},"datePublished":"2025-08-30T04:50:46+00:00","dateModified":"2025-08-30T05:11:35+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#webpage"},"articleSection":"Research"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#listItem","name":"Fortigate Device to Opnsense Site to Site VPN"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#listItem","position":3,"name":"Fortigate Device to Opnsense Site to Site VPN","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#webpage","url":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn","name":"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com","description":"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit \"Forti-Opn\" set interface \"port1\" set ike-version 2 set keylife 28800 set peertype any","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2025-08-30T04:50:46+00:00","dateModified":"2025-08-30T05:11:35+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com","og:description":"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit &quot;Forti-Opn&quot; set interface &quot;port1&quot; set ike-version 2 set keylife 28800 set peertype any","og:url":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn","article:published_time":"2025-08-30T04:50:46+00:00","article:modified_time":"2025-08-30T05:11:35+00:00","twitter:card":"summary","twitter:title":"Fortigate Device to Opnsense Site to Site VPN | Welcome to Pariswells.com","twitter:description":"Example IP of OpnSense : 1.1.1.1 Local IP of OpenSense : 172.40.1.0\/24 Example IP of Forti : 2.2.2.2 Local IP of Forti : 192.168.13.0\/24 Forti Config ( Remember to add Static Routes and Policies with NAT ) config vpn ipsec phase1-interface edit &quot;Forti-Opn&quot; set interface &quot;port1&quot; set ike-version 2 set keylife 28800 set peertype any"},"aioseo_meta_data":{"post_id":"9196","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-12-10 11:12:09","updated":"2025-12-10 11:12:09","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tFortigate Device to Opnsense Site to Site VPN\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"Fortigate Device to Opnsense Site to Site VPN","link":"https:\/\/pariswells.com\/blog\/research\/fortigate-device-to-opnsense-site-to-site-vpn"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9196","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=9196"}],"version-history":[{"count":2,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9196\/revisions"}],"predecessor-version":[{"id":9203,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/9196\/revisions\/9203"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=9196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=9196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=9196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}