<?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 HowTo: Use SSH tunnels with Check Point in General Topics</title>
    <link>https://community.checkpoint.com/t5/General-Topics/HowTo-Use-SSH-tunnels-with-Check-Point/m-p/146631#M25757</link>
    <description>&lt;P&gt;&lt;STRONG&gt;SSH tunnels&lt;/STRONG&gt; are very helpful to tunnel required traffic through a working SSH connection.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pro:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If SSH is already working, other traffic can be routed through it without the need for additional rules / policy install&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Prerequisites:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SSH tunneling needs to be enabled
&lt;UL&gt;
&lt;LI&gt;temporarily:&amp;nbsp;&lt;CODE&gt;sed -i 's/^AllowTcpForwarding no/AllowTcpForwarding yes/' /etc/ssh/sshd_config &amp;amp;&amp;amp; sshd restart&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;permanently: see&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk106031" target="_self"&gt;sk106031&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Topics-GAG/Host-Access.htm" target="_self"&gt;Host Access&lt;/A&gt;&amp;nbsp;/&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Topics-GAG/GUI-Clients.htm" target="_self"&gt;GUI Clients&lt;/A&gt; might need to be adjusted to allow connections from the system that tunnels the traffic (&lt;EM&gt;source ip or 127.0.0.1 in case your tunnel's destination is the local system&lt;/EM&gt;)&lt;/LI&gt;
&lt;LI&gt;SSH session timeout should be unset while tunneling traffic via: &lt;CODE&gt;unset TMOUT&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Use cases:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Troubleshooting connectivity issues
&lt;UL&gt;
&lt;LI&gt;Example: if your normal SmartConsole connection to the SmartCenter Server doesn't work anymore (&lt;EM&gt;VPN down or something else&lt;/EM&gt;) but you can still connect to the firewall gateway via SSH, you can simply tunnel SmartConsole connections through the gateway&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;..&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Establishing a SSH tunnel:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Example for a SmartConsole connection:
&lt;UL&gt;
&lt;LI&gt;According to&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk52421" target="_self"&gt;sk52421&lt;/A&gt;&amp;nbsp;ports 443, 18190, 18210 and 19009 need to be tunneled to the SmartCenter Server&lt;/LI&gt;
&lt;LI&gt;the &lt;A href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_self"&gt;Putty&lt;/A&gt; way:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 452px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16103i217FE8E528264ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;recent Windows versions have an OpenSSH client built-in, so you can also open a CMD terminal and establish an SSH tunnel via CLI using the &lt;CODE&gt;ssh -L&lt;/CODE&gt; parameter&lt;/LI&gt;
&lt;LI&gt;and of course any other SSH client of your choice should work as well&lt;/LI&gt;
&lt;LI&gt;after the SSH tunnel is established you can then start SmartConsole like this and the traffic is piped through the SSH tunnel:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 677px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16104iE4FE64E75704B297/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 20 Apr 2022 21:49:48 GMT</pubDate>
    <dc:creator>Danny</dc:creator>
    <dc:date>2022-04-20T21:49:48Z</dc:date>
    <item>
      <title>HowTo: Use SSH tunnels with Check Point</title>
      <link>https://community.checkpoint.com/t5/General-Topics/HowTo-Use-SSH-tunnels-with-Check-Point/m-p/146631#M25757</link>
      <description>&lt;P&gt;&lt;STRONG&gt;SSH tunnels&lt;/STRONG&gt; are very helpful to tunnel required traffic through a working SSH connection.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pro:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;If SSH is already working, other traffic can be routed through it without the need for additional rules / policy install&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Prerequisites:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SSH tunneling needs to be enabled
&lt;UL&gt;
&lt;LI&gt;temporarily:&amp;nbsp;&lt;CODE&gt;sed -i 's/^AllowTcpForwarding no/AllowTcpForwarding yes/' /etc/ssh/sshd_config &amp;amp;&amp;amp; sshd restart&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;permanently: see&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk106031" target="_self"&gt;sk106031&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Topics-GAG/Host-Access.htm" target="_self"&gt;Host Access&lt;/A&gt;&amp;nbsp;/&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Topics-GAG/GUI-Clients.htm" target="_self"&gt;GUI Clients&lt;/A&gt; might need to be adjusted to allow connections from the system that tunnels the traffic (&lt;EM&gt;source ip or 127.0.0.1 in case your tunnel's destination is the local system&lt;/EM&gt;)&lt;/LI&gt;
&lt;LI&gt;SSH session timeout should be unset while tunneling traffic via: &lt;CODE&gt;unset TMOUT&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Use cases:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Troubleshooting connectivity issues
&lt;UL&gt;
&lt;LI&gt;Example: if your normal SmartConsole connection to the SmartCenter Server doesn't work anymore (&lt;EM&gt;VPN down or something else&lt;/EM&gt;) but you can still connect to the firewall gateway via SSH, you can simply tunnel SmartConsole connections through the gateway&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;..&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Establishing a SSH tunnel:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Example for a SmartConsole connection:
&lt;UL&gt;
&lt;LI&gt;According to&amp;nbsp;&lt;A href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk52421" target="_self"&gt;sk52421&lt;/A&gt;&amp;nbsp;ports 443, 18190, 18210 and 19009 need to be tunneled to the SmartCenter Server&lt;/LI&gt;
&lt;LI&gt;the &lt;A href="https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html" target="_self"&gt;Putty&lt;/A&gt; way:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 452px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16103i217FE8E528264ADD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;recent Windows versions have an OpenSSH client built-in, so you can also open a CMD terminal and establish an SSH tunnel via CLI using the &lt;CODE&gt;ssh -L&lt;/CODE&gt; parameter&lt;/LI&gt;
&lt;LI&gt;and of course any other SSH client of your choice should work as well&lt;/LI&gt;
&lt;LI&gt;after the SSH tunnel is established you can then start SmartConsole like this and the traffic is piped through the SSH tunnel:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 677px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/16104iE4FE64E75704B297/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Apr 2022 21:49:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/General-Topics/HowTo-Use-SSH-tunnels-with-Check-Point/m-p/146631#M25757</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2022-04-20T21:49:48Z</dc:date>
    </item>
  </channel>
</rss>

