{"id":686,"date":"2010-08-16T09:39:49","date_gmt":"2010-08-16T07:39:49","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=686"},"modified":"2021-08-28T21:43:16","modified_gmt":"2021-08-28T19:43:16","slug":"fortigate-dialup-vpn-client-gets-no-dhcp-lease","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html","title":{"rendered":"Fortigate Dialup VPN Client Do Not Get DHCP Lease"},"content":{"rendered":"\n<p>We use <a href=\"\/en\/category\/networking\/fortinet\">Fortinet<\/a> VPN client Forticlient to connect to our Fortigate firewall with IPSEC encryption. We&#8217;d like to give clients a DHCP address so we do not have anything to manage other than user authentication.<br><br>Dialup VPN client do not seem to get an IP address although a DHCP pool is created and &#8220;DHCP-IPsec&#8221; is checked in the phase-2 VPN settings. An <em>IPSEC ESP<\/em> error is also raised in the Fortigate&#8217;s event log.<br>Setting a static IP address does connect the client.<br>\u00a0<br>The firewall receives DHCP requests but offers are not sent back into the <a href=\"https:\/\/www.cloudflare.com\/en-gb\/learning\/network-layer\/what-is-ipsec\/\" target=\"_blank\" rel=\"noreferrer noopener\">IPSEC<\/a> tunnel. To solve this, an additional firewall rule needs to be added to encrypt the DHCP traffic &#8211; DHCP only &#8211; from the inside to the outside interface.<br>Leave the source and destination addresses to &#8220;any&#8221; as this is a layer 2 issue. The client hasn&#8217;t been delivered an IP address yet! Set service to DHCP, action to IPSEC, and select appropriate VPN tunnel.<br><br>The screenshot was taken on a Fortiwifi but the configuration is the same on any Fortigate. IPSEC clients should now get a dynamic IP address though DHCP.<br><br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"\/images\/Fortigate_DHCP_IPSEC.png\" alt=\"Fortigate DHCP IPSEC firewall rule\"\/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We use Fortinet VPN client Forticlient to connect to our Fortigate firewall with IPSEC encryption. We&#8217;d like to give clients a DHCP address so we do not have anything to manage other than user authentication. Dialup VPN client do not seem to get an IP address although a DHCP pool is created and &#8220;DHCP-IPsec&#8221; is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[300],"tags":[304,301,397,303,218],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Fortigate Dialup VPN Client Do Not Get DHCP Lease<\/title>\n<meta name=\"description\" content=\"Forticlient VPN clients do not get DHCP IP address lease through IPSEC. Check how to send DHCP traffic back into the encrypted tunnel\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Fortigate Dialup VPN Client Do Not Get DHCP Lease\" \/>\n<meta property=\"og:description\" content=\"Forticlient VPN clients do not get DHCP IP address lease through IPSEC. Check how to send DHCP traffic back into the encrypted tunnel\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2010-08-16T07:39:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-28T19:43:16+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html\",\"name\":\"Netexpertise - Fortigate Dialup VPN Client Do Not Get DHCP Lease\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2010-08-16T07:39:49+00:00\",\"dateModified\":\"2021-08-28T19:43:16+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"description\":\"Forticlient VPN clients do not get DHCP IP address lease through IPSEC. Check how to send DHCP traffic back into the encrypted tunnel\",\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fortigate Dialup VPN Client Do Not Get DHCP Lease\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Fortigate Dialup VPN Client Do Not Get DHCP Lease","description":"Forticlient VPN clients do not get DHCP IP address lease through IPSEC. Check how to send DHCP traffic back into the encrypted tunnel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - Fortigate Dialup VPN Client Do Not Get DHCP Lease","og_description":"Forticlient VPN clients do not get DHCP IP address lease through IPSEC. Check how to send DHCP traffic back into the encrypted tunnel","og_url":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html","og_site_name":"Netexpertise","article_published_time":"2010-08-16T07:39:49+00:00","article_modified_time":"2021-08-28T19:43:16+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html","url":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html","name":"Netexpertise - Fortigate Dialup VPN Client Do Not Get DHCP Lease","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2010-08-16T07:39:49+00:00","dateModified":"2021-08-28T19:43:16+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"description":"Forticlient VPN clients do not get DHCP IP address lease through IPSEC. Check how to send DHCP traffic back into the encrypted tunnel","breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/en\/networking\/fortinet\/fortigate-dialup-vpn-client-gets-no-dhcp-lease.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"Fortigate Dialup VPN Client Do Not Get DHCP Lease"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/686"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=686"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/686\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=686"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}