{"id":1671,"date":"2022-08-23T23:00:00","date_gmt":"2022-08-23T22:00:00","guid":{"rendered":"https:\/\/www.balajibandi.com\/?p=1671"},"modified":"2022-08-30T11:26:53","modified_gmt":"2022-08-30T10:26:53","slug":"site-to-site-vpn-phase2-issue-between-fortinet-and-checkpoint-r80-10","status":"publish","type":"post","link":"https:\/\/www.balajibandi.com\/?p=1671","title":{"rendered":"Site to Site VPN Phase2 issue Between Fortinet and Checkpoint R80.10"},"content":{"rendered":"\n<p>I was working one of the site to site VPN config.<\/p>\n\n\n\n<p>Most cases Checkpoint have some teethering issue with other vendor when we deploy VPN between CP and otehr vendors.<\/p>\n\n\n\n<p>I have come across some of this issue &#8211; in common practice Checkpoint side we use bunch of allowed IP&#8217;s in the encryption domain.<\/p>\n\n\n\n<p>in this case Fortinet coming with only set of ip address in the intresting traffic x.x.x.x\/15, which is not matching with Checkpoint.<\/p>\n\n\n\n<p>Phase1 come up as expected.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"196\" height=\"72\" src=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-21.png\" alt=\"\" class=\"wp-image-1672\"\/><figcaption>But Phase 2 Failed with below message as rejected.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"566\" height=\"283\" src=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-22.png\" alt=\"\" class=\"wp-image-1673\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-22.png 566w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-22-300x150.png 300w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><figcaption>here is troubleshooting tips (before we need to check the Logs, that taking Long time to identify the issue)<\/figcaption><\/figure>\n\n\n\n<p>Now checkpoint release <a href=\"https:\/\/supportcenter.checkpoint.com\/supportcenter\/portal?eventSubmit_doGoviewsolutiondetails=&amp;solutionid=sk30994&amp;partition=Advanced&amp;product=IPSec\">ikeview tool<\/a> :<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"117\" height=\"24\" src=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-23.png\" alt=\"\" class=\"wp-image-1674\"\/><\/figure>\n\n\n\n<p>Fortinet boxes are quite picky about what Proxy-IDs\/subnets they will accept in an IKE Phase 2 proposal sent by a Check Point.<\/p>\n\n\n\n<p>Steps :<\/p>\n\n\n\n<p>Initiate debug of VPND daemon on Check Point Security Gateway from the CLI:<\/p>\n\n\n\n<p>You need to get on to expert mode.<\/p>\n\n\n\n<p>To enable IKE debug mode, run in Expert mode on Security Gateway:<br>#<strong><em>vpn debug ikeon<\/em><\/strong><\/p>\n\n\n\n<p>To stop IKE debugging, run in Expert mode on Security Gateway:<br><strong><em>#vpn debug ikeoff<\/em><\/strong><\/p>\n\n\n\n<p><strong>Note:<\/strong> Enabling IKE debug mode has no resource impact on the Security Gateway. Check Point recommends disabling IKE debug mode when not in use, due to hard-drive space consideration.<\/p>\n\n\n\n<p>Logs will be stored in :<\/p>\n\n\n\n<p><em>$FWDIR\/log\/ike.elg<\/em> or <em>$FWDIR\/log\/ikev2.xmll<\/em> or <em>$FWDIR\/log<\/em>\/legacy_ikev2.xmll<\/p>\n\n\n\n<p>I have downloaded all 3 files locally and analysed with ikevtool.<\/p>\n\n\n\n<p>The logs show the issue as below :<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"860\" height=\"299\" src=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-25.png\" alt=\"\" class=\"wp-image-1701\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-25.png 860w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-25-300x104.png 300w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-25-768x267.png 768w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2022\/08\/image-25-705x245.png 705w\" sizes=\"auto, (max-width: 860px) 100vw, 860px\" \/><\/figure>\n\n\n\n<p>before R80, we need to edit the user.def file to achieve this, but R80.10 onwards you can attached directly to VPN config specific IP address space.<\/p>\n\n\n\n<p>Instead of broad domain, i have matched x.x.x.x\/15, that fix the issue.<\/p>\n\n\n\n<p>Phase 1 and Phase 2 comeup as expected.<\/p>\n\n\n\n<p>Same Like cisco Forum, Checkpoint forum also very helpful to resolve the issue, and ikevtool(required permission to download) but good tool.<\/p>\n\n\n\n<p>Happy Labbbing&#8230;!!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was working one of the site to site VPN config. Most cases Checkpoint have some teethering issue with other vendor when we deploy VPN between CP and otehr vendors. I have come across some of this issue &#8211; in common practice Checkpoint side we use bunch of allowed IP&#8217;s in the encryption domain. in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1671","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/1671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1671"}],"version-history":[{"count":3,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/1671\/revisions"}],"predecessor-version":[{"id":1702,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/1671\/revisions\/1702"}],"wp:attachment":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}