<?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: SMB configure WAN default GW via CLI in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243415#M12223</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/17503"&gt;@D_W&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not 100% sure, this setting is available in CLI. MAybe&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21294"&gt;@G_W_Albrecht&lt;/a&gt;&amp;nbsp; knows the answer without test GW:-)&lt;/P&gt;
&lt;P class="Procedure_Heading"&gt;&lt;EM&gt;To configure a&amp;nbsp;&lt;SPAN class="SearchHighlight SearchHighlight1"&gt;default&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="SearchHighlight SearchHighlight2"&gt;route&lt;/SPAN&gt;:&lt;/EM&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI value="1"&gt;
&lt;P&gt;&lt;EM&gt;Go to&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Device&lt;/SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Local Network&lt;/SPAN&gt;&amp;nbsp;page.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI value="2"&gt;
&lt;P&gt;&lt;EM&gt;Select an interface and click&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Edit&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Edit&lt;/SPAN&gt;&amp;nbsp;window opens in the&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Configuration&lt;/SPAN&gt;&amp;nbsp;tab.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI value="3"&gt;
&lt;P&gt;&lt;EM&gt;Click the&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;DHCP Server options&lt;/SPAN&gt;&amp;nbsp;tab.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI value="4"&gt;
&lt;P&gt;&lt;EM&gt;In the&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;&lt;SPAN class="mc-variable Other_Vars.tp_def_gw_cap variable"&gt;&lt;SPAN class="SearchHighlight SearchHighlight1"&gt;Default&lt;/SPAN&gt;&amp;nbsp;Gateway&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;section, do one of these:&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;EM&gt;Click&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Use this gateway's IP address as the&amp;nbsp;&lt;SPAN class="mc-variable Other_Vars.tp_def_gw variable"&gt;&lt;SPAN class="SearchHighlight SearchHighlight1"&gt;default&lt;/SPAN&gt;&amp;nbsp;gateway&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;EM&gt;Select&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Use the following IP address&lt;/SPAN&gt;&amp;nbsp;and enter an IP address.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI value="5"&gt;
&lt;P&gt;&lt;EM&gt;Click&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Apply&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/SMB_R80.20.20/AdminGuides/Locally_Managed/EN/Topics/Configuring-Routing-Table.htm?Highlight=default%20route" target="_blank"&gt;https://sc1.checkpoint.com/documents/SMB_R80.20.20/AdminGuides/Locally_Managed/EN/Topics/Configuring-Routing-Table.htm?Highlight=default%20route&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Akos&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 11:17:15 GMT</pubDate>
    <dc:creator>AkosBakos</dc:creator>
    <dc:date>2025-03-10T11:17:15Z</dc:date>
    <item>
      <title>SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243406#M12222</link>
      <description>&lt;P&gt;Hi Mates,&lt;/P&gt;
&lt;P&gt;I cannot find the CLI syntax to define the Default Gateway (of the WAN Port/Internet Connection) for SMB 1500-2000 - R81.10.10.&lt;BR /&gt;Is it possible to configure it via CLI?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Dave&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 10:30:42 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243406#M12222</guid>
      <dc:creator>D_W</dc:creator>
      <dc:date>2025-03-10T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243415#M12223</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/17503"&gt;@D_W&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not 100% sure, this setting is available in CLI. MAybe&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/21294"&gt;@G_W_Albrecht&lt;/a&gt;&amp;nbsp; knows the answer without test GW:-)&lt;/P&gt;
&lt;P class="Procedure_Heading"&gt;&lt;EM&gt;To configure a&amp;nbsp;&lt;SPAN class="SearchHighlight SearchHighlight1"&gt;default&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="SearchHighlight SearchHighlight2"&gt;route&lt;/SPAN&gt;:&lt;/EM&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI value="1"&gt;
&lt;P&gt;&lt;EM&gt;Go to&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Device&lt;/SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Local Network&lt;/SPAN&gt;&amp;nbsp;page.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI value="2"&gt;
&lt;P&gt;&lt;EM&gt;Select an interface and click&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Edit&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;The&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Edit&lt;/SPAN&gt;&amp;nbsp;window opens in the&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Configuration&lt;/SPAN&gt;&amp;nbsp;tab.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI value="3"&gt;
&lt;P&gt;&lt;EM&gt;Click the&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;DHCP Server options&lt;/SPAN&gt;&amp;nbsp;tab.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI value="4"&gt;
&lt;P&gt;&lt;EM&gt;In the&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;&lt;SPAN class="mc-variable Other_Vars.tp_def_gw_cap variable"&gt;&lt;SPAN class="SearchHighlight SearchHighlight1"&gt;Default&lt;/SPAN&gt;&amp;nbsp;Gateway&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;section, do one of these:&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;EM&gt;Click&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Use this gateway's IP address as the&amp;nbsp;&lt;SPAN class="mc-variable Other_Vars.tp_def_gw variable"&gt;&lt;SPAN class="SearchHighlight SearchHighlight1"&gt;default&lt;/SPAN&gt;&amp;nbsp;gateway&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;EM&gt;Select&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Use the following IP address&lt;/SPAN&gt;&amp;nbsp;and enter an IP address.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI value="5"&gt;
&lt;P&gt;&lt;EM&gt;Click&amp;nbsp;&lt;SPAN class="Menu_Options"&gt;Apply&lt;/SPAN&gt;.&lt;/EM&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/SMB_R80.20.20/AdminGuides/Locally_Managed/EN/Topics/Configuring-Routing-Table.htm?Highlight=default%20route" target="_blank"&gt;https://sc1.checkpoint.com/documents/SMB_R80.20.20/AdminGuides/Locally_Managed/EN/Topics/Configuring-Routing-Table.htm?Highlight=default%20route&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Akos&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 11:17:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243415#M12223</guid>
      <dc:creator>AkosBakos</dc:creator>
      <dc:date>2025-03-10T11:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243429#M12224</link>
      <description>&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/add-internet-connection-interface-WAN.htm?tocpath=Configuring%20the%20Internet%20Connections%7CAdding%20Internet%20Connections%7C_____1" target="_blank"&gt;https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/add-internet-connection-interface-WAN.htm?tocpath=Configuring%20the%20Internet%20Connections%7CAdding%20Internet%20Connections%7C_____1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;add internet-connection name "&amp;lt;&lt;EM&gt;name&lt;/EM&gt;&amp;gt;" interface &lt;STRONG&gt;WAN&lt;/STRONG&gt; type &lt;STRONG&gt;static&lt;/STRONG&gt; default-gw &amp;lt;&lt;EM&gt;default-gw&lt;/EM&gt;&amp;gt; ipv4-address &amp;lt;&lt;EM&gt;ipv4-address&lt;/EM&gt;&amp;gt; mask-length &amp;lt;&lt;EM&gt;mask-length&lt;/EM&gt;&amp;gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 13:11:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243429#M12224</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2025-03-10T13:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243438#M12226</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Live and learn &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 14:20:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243438#M12226</guid>
      <dc:creator>AkosBakos</dc:creator>
      <dc:date>2025-03-10T14:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243446#M12227</link>
      <description>&lt;P&gt;Thank you - I will work with this then &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Interestingly I tried to lookup the config from a running 1600 and there is no defined config with "internet-connection".&lt;BR /&gt;Everything regarding the WAN config is set like this - and also the default-gw is missing in the config:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;set interface-type "WAN" ipv4-address "xx.xx.xx.xx" subnet-mask "255.255.255.240"
set interface-alias "Internet1" ipv4-address "xx.xx.xx.xx" mask-length "28" state "on&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;That's why I'm confused. I exported the config with this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/pfrm2.0/bin/lua /pfrm2.0/bin/cli/showConfig.lua &amp;gt; /var/log/config.txt&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Additonal Info the SMB devices are centrally managed.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 15:39:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243446#M12227</guid>
      <dc:creator>D_W</dc:creator>
      <dc:date>2025-03-10T15:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243449#M12228</link>
      <description>&lt;P&gt;As it can easily be found in the CLI guide together with examples, this command shuld not be unknown &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; This is the same command the FTW and WebGUI uses. showConfig is not "correct" as it replaces all first time add commands, also see my post: &lt;A href="https://community.checkpoint.com/t5/SMB-Gateways-Spark/Configuration-transfer-between-different-SMB-models/m-p/38898" target="_blank"&gt;https://community.checkpoint.com/t5/SMB-Gateways-Spark/Configuration-transfer-between-different-SMB-models/m-p/38898&lt;/A&gt;:&lt;/P&gt;
&lt;H5&gt;These saved CLISH commands usually are not able to replicate the configuration completely, as, for example, configuring an existing interface uses "set internet-connection", as used in "show configuration" output, but to define a new interface from scratch as needed in a new or reset box, you would have to issue "add internet-connection" instead.&lt;/H5&gt;</description>
      <pubDate>Mon, 10 Mar 2025 15:53:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243449#M12228</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2025-03-10T15:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: SMB configure WAN default GW via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243473#M12233</link>
      <description>&lt;P&gt;Yes, but the embedded gaia is always contains surprises for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 21:55:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/SMB-configure-WAN-default-GW-via-CLI/m-p/243473#M12233</guid>
      <dc:creator>AkosBakos</dc:creator>
      <dc:date>2025-03-10T21:55:05Z</dc:date>
    </item>
  </channel>
</rss>

