<?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 R81.20 SAM RULE CLI in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226374#M43526</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm newbie with Checkpoint Gaia. I want configure a SAM Rule through CLI on SMS, but cheat sheet is hard to understand.&lt;BR /&gt;&lt;BR /&gt;How to set a CLI command to "Drop icmp service from source 10.10.10.2 to dest 192.168.1.2 on Gateway name: CP-GW and expired time is 1 hour ?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank &amp;amp; best regard.&lt;BR /&gt;&lt;BR /&gt;Benny_On&lt;/P&gt;</description>
    <pubDate>Thu, 12 Sep 2024 10:11:02 GMT</pubDate>
    <dc:creator>Benny_On</dc:creator>
    <dc:date>2024-09-12T10:11:02Z</dc:date>
    <item>
      <title>R81.20 SAM RULE CLI</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226374#M43526</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I'm newbie with Checkpoint Gaia. I want configure a SAM Rule through CLI on SMS, but cheat sheet is hard to understand.&lt;BR /&gt;&lt;BR /&gt;How to set a CLI command to "Drop icmp service from source 10.10.10.2 to dest 192.168.1.2 on Gateway name: CP-GW and expired time is 1 hour ?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank &amp;amp; best regard.&lt;BR /&gt;&lt;BR /&gt;Benny_On&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 10:11:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226374#M43526</guid>
      <dc:creator>Benny_On</dc:creator>
      <dc:date>2024-09-12T10:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 SAM RULE CLI</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226465#M43534</link>
      <description>&lt;P&gt;ICMP is protocol 1.&lt;BR /&gt;I believe (but am not certain) the various ICMP types codes would be the service.&lt;BR /&gt;This means to block ICMP Echo Request for an hour: fw sam -s CP-GW -t 3600 -j srv 10.10.10.2 192.168.1.2 1 1&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 21:29:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226465#M43534</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-09-12T21:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 SAM RULE CLI</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226481#M43536</link>
      <description>&lt;P&gt;Dear PhoneBoy,&lt;/P&gt;&lt;P&gt;Thank you for your answer,&lt;/P&gt;&lt;P&gt;According to your CLI and cheat sheet, I understand following:&lt;BR /&gt;-s: Gateway Server&lt;BR /&gt;-t: Timeout in seconds&lt;BR /&gt;-j: Drop connection&lt;BR /&gt;srv: &amp;lt;src ip&amp;gt; &amp;lt;dst ip&amp;gt; &amp;lt;service&amp;gt; &amp;lt;protocol&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Seem like, SAM rule require the parameters go in order. In the other example: Drop all connection to dst_ip 192.168.2.2 all service for an hour: "fw sam -s CP-GW -t 3600 -j any dst 192.168.2.2" --&amp;gt; Is this command is right ?&lt;BR /&gt;&lt;BR /&gt;Best regard,&lt;BR /&gt;&lt;BR /&gt;Benny_On&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 03:11:41 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226481#M43536</guid>
      <dc:creator>Benny_On</dc:creator>
      <dc:date>2024-09-13T03:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: R81.20 SAM RULE CLI</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226549#M43546</link>
      <description>&lt;P&gt;When entering any CLI command (including fw sam), flags/switches to the command with their arguments (e.g. -s CP-GW) are specified before other arguments.&lt;BR /&gt;The "other arguments" in this case are the criteria listed in the fw sam help and must be listed in the exact order.&lt;/P&gt;
&lt;P&gt;If your goal is is to drop all packets to destination IP 192.168.2.2 (regardless of source), the command is:&amp;nbsp;fw sam -s CP-GW -t 3600 -j dst 192.168.2.2&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2024 13:25:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/R81-20-SAM-RULE-CLI/m-p/226549#M43546</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2024-09-13T13:25:02Z</dc:date>
    </item>
  </channel>
</rss>

