<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How is VPN traffic excluded via crypt.def routed? in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/176290#M29341</link>
    <description>&lt;P&gt;Hi Klemen,&lt;/P&gt;
&lt;P&gt;This is what we used (need was to exclude SMTP traffic from a specific host from the tunnel):&lt;/P&gt;
&lt;P&gt;#ifndef NON_VPN_TRAFFIC_RULES&lt;BR /&gt;#ifndef IPV6_FLAVOR&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES (src=192.168.10.10,dport=25)&lt;BR /&gt;#else&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES 0&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;Also refer to the below to SK's (depending on the gateway platform you need to modify different files on the SMS etc.)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk25675&amp;amp;partition=Advanced&amp;amp;product=IPSec" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk25675&amp;amp;partition=Advanced&amp;amp;product=IPSec&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk98241#Location" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk98241#Location&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ruan&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 12:57:33 GMT</pubDate>
    <dc:creator>Ruan_Kotze</dc:creator>
    <dc:date>2023-03-27T12:57:33Z</dc:date>
    <item>
      <title>How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/163421#M27282</link>
      <description>&lt;P&gt;Hi Checkmates,&lt;/P&gt;
&lt;P&gt;I've got a scenario whereby I've got a star community with all traffic routed through the center.&lt;/P&gt;
&lt;P&gt;I've got a requirement now to break out SMTP traffic to a specific destination locally at one of the spokes (and at that spoke only - all other spokes should still encrypt and send through the center).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the event that I exclude a specific source / destination / service via crypt.def, would traffic then obey a policy route on the gateway or would it still be sent to the center, but in cleartext?&amp;nbsp; The spoke in question is a Quantum spark running 80.20.50 in case it's relevant.&lt;/P&gt;
&lt;P&gt;Is there perhaps a better way of doing this than fiddling with crypt.def and INSPECT syntax?&amp;nbsp; FWIW this is the syntax I'm looking to implement:&lt;/P&gt;
&lt;P&gt;#ifndef NON_VPN_TRAFFIC_RULES&lt;BR /&gt;#ifndef IPV6_FLAVOR&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES (src=192.168.1.10,dst=1.2.3.4,dport=25)&lt;BR /&gt;#else&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES 0&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ruan&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 07:33:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/163421#M27282</guid>
      <dc:creator>Ruan_Kotze</dc:creator>
      <dc:date>2022-11-30T07:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/163425#M27286</link>
      <description>&lt;P&gt;I could be mistaken, but I believe if you modify crypt.def, it would be sent in clear, maybe someone else can confirm 100%. Actually, I dont believe TAC would ever recommend you to do something like this, but I saw customer once create VPN rule to block traffic they did NOT want going through the tunnel (they just placed it above accept vpn rule). Personally, I only saw that one time and never again. Most people just do it by modifying the file you mentioned.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 19:12:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/163425#M27286</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-11-28T19:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/163438#M27293</link>
      <description>&lt;P&gt;This "hack" to crypt.def ensures the specified traffic is NOT encrypted (i.e. sent through VPN) and it should be sent according to the normal routing table.&lt;BR /&gt;Unfortunately, there isn't a cleaner way to do this currently.&lt;BR /&gt;And, because you're talking SMB gateways, make sure the change is made to the appropriate "Backward Compatibility" directory version of crypt.def.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 01:20:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/163438#M27293</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2022-11-29T01:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/175889#M29313</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a similar issue which is on location A I have a SMB Quantum spark running&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;80.20.50 which has established IPsec tunnel to location B which is a Cluster of 3600 appliances. All traffic is routed through center which is cluster. On location A I have a device with local IP 192.168.15.245 which traffic should not be going through tunnel but directly to internet from location A.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How should I write my crypt.def ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#ifndef NON_VPN_TRAFFIC_RULES&lt;BR /&gt;#ifndef IPV6_FLAVOR&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES (src=192.168.15.245)&amp;nbsp;&lt;BR /&gt;#else&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES 0&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Looking forward to your reply,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Klemen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 10:30:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/175889#M29313</guid>
      <dc:creator>Klemen1310</dc:creator>
      <dc:date>2023-03-23T10:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/175892#M29314</link>
      <description>&lt;P&gt;Hi Klemen, as per above we did this successfully for one of our clients, I'll see if I can get a sanitized copy and post it here.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 10:41:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/175892#M29314</guid>
      <dc:creator>Ruan_Kotze</dc:creator>
      <dc:date>2023-03-23T10:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/176287#M29340</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;should I open new ticket or are you still trying to get sanitized copy ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 12:45:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/176287#M29340</guid>
      <dc:creator>Klemen1310</dc:creator>
      <dc:date>2023-03-27T12:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/176290#M29341</link>
      <description>&lt;P&gt;Hi Klemen,&lt;/P&gt;
&lt;P&gt;This is what we used (need was to exclude SMTP traffic from a specific host from the tunnel):&lt;/P&gt;
&lt;P&gt;#ifndef NON_VPN_TRAFFIC_RULES&lt;BR /&gt;#ifndef IPV6_FLAVOR&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES (src=192.168.10.10,dport=25)&lt;BR /&gt;#else&lt;BR /&gt;#define NON_VPN_TRAFFIC_RULES 0&lt;BR /&gt;#endif&lt;BR /&gt;#endif&lt;/P&gt;
&lt;P&gt;Also refer to the below to SK's (depending on the gateway platform you need to modify different files on the SMS etc.)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk25675&amp;amp;partition=Advanced&amp;amp;product=IPSec" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk25675&amp;amp;partition=Advanced&amp;amp;product=IPSec&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk98241#Location" target="_blank"&gt;https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk98241#Location&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Ruan&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 12:57:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/176290#M29341</guid>
      <dc:creator>Ruan_Kotze</dc:creator>
      <dc:date>2023-03-27T12:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/177903#M29641</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does anyone know the possible syntax? I need to exlude several networks and working just with "src=" and "dst=" and many many "or" in between leads to a very big crypt.def file! Usage of networks would be great.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 07:37:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/177903#M29641</guid>
      <dc:creator>dede79</dc:creator>
      <dc:date>2023-04-12T07:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/177932#M29644</link>
      <description>&lt;P&gt;The language used here is INSPECT, so it should be possible.&lt;BR /&gt;fw monitor uses the same syntax, and it’s described here:&amp;nbsp;&lt;A href="https://support.checkpoint.com/results/sk/sk30583" target="_blank"&gt;https://support.checkpoint.com/results/sk/sk30583&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 14:11:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/177932#M29644</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-12T14:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/178001#M29648</link>
      <description>&lt;P&gt;Checked so far - wildcard would have been the best option but seems not to work (like exclude all MPLS routers to check connectivity....10.190.*.1).&lt;/P&gt;&lt;P&gt;Also as I see no option to install specific rules only on specific gateways.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 07:23:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/178001#M29648</guid>
      <dc:creator>dede79</dc:creator>
      <dc:date>2023-04-13T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/178024#M29649</link>
      <description>&lt;P&gt;You're changing an INSPECT macro.&lt;BR /&gt;I'm not aware of a way to make it different for different gateways short of manually maintaining it for each gateway.&lt;/P&gt;
&lt;P&gt;A route-based VPN would probably be a better approach here since it can be affected through routing changes on the local gateway.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 14:36:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/178024#M29649</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-04-13T14:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/188645#M31627</link>
      <description>&lt;P&gt;it works perfectly with gaia gateways - just the added 1500 devices on R81.10 completely ignore the VPN exclustions in crypt.def.&lt;/P&gt;&lt;P&gt;File should be the same for all R81.10 gateways, right? $FWDIR/lib/crypt.def&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is there a different syntax for the quantum spark series?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 12:27:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/188645#M31627</guid>
      <dc:creator>dede79</dc:creator>
      <dc:date>2023-08-04T12:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/188647#M31628</link>
      <description>&lt;P&gt;Different locations for Spark as far as I recall - I linked the SK's in a previous post.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 12:46:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/188647#M31628</guid>
      <dc:creator>Ruan_Kotze</dc:creator>
      <dc:date>2023-08-04T12:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/188747#M31639</link>
      <description>&lt;P&gt;thought from R81.20 Mgmt admin guide it should be $FWDIR/CPSFWR81CMP-R81.10/lib/crypt.def but changes here are not influencing quantum sparc behavior.....so I creates an SR.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 08:31:18 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/188747#M31639</guid>
      <dc:creator>dede79</dc:creator>
      <dc:date>2023-08-07T08:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: How is VPN traffic excluded via crypt.def routed?</title>
      <link>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/190379#M31901</link>
      <description>&lt;P&gt;That is only for SMB gateways running R81.10.&lt;BR /&gt;For other firmware versions, you'll need a different path.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 20:59:33 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/How-is-VPN-traffic-excluded-via-crypt-def-routed/m-p/190379#M31901</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2023-08-23T20:59:33Z</dc:date>
    </item>
  </channel>
</rss>

