<?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: Question regarding FTP through Checkpoint FW in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97581#M27166</link>
    <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/51575"&gt;@mcdonamwION&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can find the explanation of this behaviour her&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk39600" target="_blank" rel="noopener"&gt;What is the difference between Active FTP and Passive FTP connection?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As described by &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;this automatism does only work if you use the service TCP/21 with protocol type set to FTP in your rulebase.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP.PNG" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/8151iD7F0D070229F9DD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FTP.PNG" alt="FTP.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can check this, create a new service TCP/21 with protocol type "none" and you see the drops for the ftp-data connections.&lt;/P&gt;
&lt;P&gt;Wolfgang&lt;/P&gt;</description>
    <pubDate>Sat, 26 Sep 2020 11:20:22 GMT</pubDate>
    <dc:creator>Wolfgang</dc:creator>
    <dc:date>2020-09-26T11:20:22Z</dc:date>
    <item>
      <title>Question regarding FTP through Checkpoint FW</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97571#M27164</link>
      <description>&lt;P&gt;Can someone help explain to me how FTP works through a Checkpoint firewall?&amp;nbsp; Specifically in this case, how Active mode FTP works given the following scenario:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Single FW rule that allows my internal systems to access internet servers over default FTP service/protocol.&amp;nbsp; No other rules exist for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is my understanding that in Active mode FTP, the process is (at a high level)&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; The client first initiates traffic from a random source port to tcp/21 on the FTP to issue CONTROL commands.&amp;nbsp; This traffic is bound and allowed via the rule defined above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Over this control session, the client issues a POST command informing the server what local port the client will be listening on for the DATA traffic.&amp;nbsp; This is usually a random port.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) The FTP server then initiates a NEW session from local source port tcp/20 to the destination port established by the client in step #2.&amp;nbsp; Data proceeds to transfer over this session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is where I get lost.&amp;nbsp; I have validated at the client via a packet capture, this process occurring, but I don't understand how the Checkpoint is 1) allowing this traffic to pass given I have no rules in place to specifically allow this new session/traffic, and 2) the client has no external NAT.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my packet capture I see the server set up the session as listed above, but the Checkpoint firewall does not even log this traffic in my logs.&amp;nbsp; The only traffic I see is the tcp/21 control traffic.&amp;nbsp; I can only assume something is happening under the covers to allow this.&amp;nbsp; Do all firewalls do this or is this special to certain ones like Checkpoint?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 01:25:12 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97571#M27164</guid>
      <dc:creator>mcdonamwION</dc:creator>
      <dc:date>2020-09-26T01:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding FTP through Checkpoint FW</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97575#M27165</link>
      <description>&lt;P&gt;Most firewalls watch the PORT command on port 21 and automatically allow the required data connection.&lt;BR /&gt;In other words, the firewall is doing more than just allowing a TCP connection on port 21.&lt;BR /&gt;If NAT is required, the firewall will usually translate the PORT command “on the fly” to something that will work.&lt;/P&gt;
&lt;P&gt;None of this is unique to Check Point, practically every firewall on the market does this, given how old and well understood the FTP protocol is.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 04:26:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97575#M27165</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2020-09-26T04:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding FTP through Checkpoint FW</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97581#M27166</link>
      <description>&lt;P&gt;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/51575"&gt;@mcdonamwION&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can find the explanation of this behaviour her&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk39600" target="_blank" rel="noopener"&gt;What is the difference between Active FTP and Passive FTP connection?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As described by &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;this automatism does only work if you use the service TCP/21 with protocol type set to FTP in your rulebase.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FTP.PNG" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/8151iD7F0D070229F9DD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FTP.PNG" alt="FTP.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can check this, create a new service TCP/21 with protocol type "none" and you see the drops for the ftp-data connections.&lt;/P&gt;
&lt;P&gt;Wolfgang&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 11:20:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/97581#M27166</guid>
      <dc:creator>Wolfgang</dc:creator>
      <dc:date>2020-09-26T11:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding FTP through Checkpoint FW</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/139033#M27167</link>
      <description>&lt;P&gt;Apologize for necropost/replying, but I wanted to revisit this.&amp;nbsp; I originally asked about active FTP.&amp;nbsp; I assume this works for passive FTP as well where random ports are involved?&lt;BR /&gt;&lt;BR /&gt;Anyway I have a remote ftp system using passive FTP but they are using a non-standard control port (tcp 31).&amp;nbsp; I show there is a built in service called ftp-pasv configured with a protocol of the same name, but it is only configured for tcp 21.&lt;/P&gt;&lt;P&gt;As such I'm trying to create a custom service to use tcp 31, but in my protocol options I only have an option for FTP, not FTP-PASV.&amp;nbsp; Can I just use FTP in this case?&amp;nbsp; I assume ftp-pasv is handled differently and that's why Checkpoint has different built in services for each.&lt;/P&gt;&lt;P&gt;Anyway, if I can't use protocol FTP, is my only other option to create a custom service surrounding the expected ports to be used by passive FTP and simply add those to the rule as well?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 18:26:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/139033#M27167</guid>
      <dc:creator>mcdonamw_ews</dc:creator>
      <dc:date>2022-01-20T18:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding FTP through Checkpoint FW</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/139055#M27168</link>
      <description>&lt;P&gt;There is a long answer to your question, but I prefer short one, which is yes. If custom port has to be used, your only option is pretty much what you described...create custom service, give that port number and make sure its included in the rule. Is this guarantee it would work? Not always, but its a requirement, so if it fails, then we would need to run some captures, preferably tcpdump and or fw monitor.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 05:28:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Question-regarding-FTP-through-Checkpoint-FW/m-p/139055#M27168</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2022-01-21T05:28:42Z</dc:date>
    </item>
  </channel>
</rss>

