<?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: list networks behind a firewall in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97553#M10451</link>
    <description>&lt;P&gt;Probably yes, but it depends on what exactly you mean by "behind". To a lesser degree, it also depends on what management version you are running and what firewall version you are running.&lt;/P&gt;&lt;P&gt;For most useful definitions of "networks behind a firewall", the routing table is the way to go. The GAiA API can dump that for you for non-VSX firewalls. No management involvement needed, but the GAiA API is relatively new. While I use VSX a lot, I have not yet tried using the GAiA API together with VSX, so I don't personally know whether they can work together.&lt;/P&gt;&lt;P&gt;For some definitions of "networks behind a firewall", you will need the antispoofing topology, which you can get via the management API. A few simple API commands ('show gateways-and-servers' to find the firewall you want, then 'show object uuid ____' to get the contents of the object) should give you all the raw data you need, though some quick jq would pare it down to only the topology. These API commands are available from R80 up, but I don't know if they return enough information about the firewall's interfaces to find the antispoofing topology in earlier versions. I know in R80.20 and up, they do.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 17:27:00 GMT</pubDate>
    <dc:creator>Bob_Zimmerman</dc:creator>
    <dc:date>2020-09-25T17:27:00Z</dc:date>
    <item>
      <title>list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97549#M10450</link>
      <description>&lt;P&gt;Is there a way with the API to export a list of all the networks behind a firewall?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 16:28:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97549#M10450</guid>
      <dc:creator>CrossCheck</dc:creator>
      <dc:date>2020-09-25T16:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97553#M10451</link>
      <description>&lt;P&gt;Probably yes, but it depends on what exactly you mean by "behind". To a lesser degree, it also depends on what management version you are running and what firewall version you are running.&lt;/P&gt;&lt;P&gt;For most useful definitions of "networks behind a firewall", the routing table is the way to go. The GAiA API can dump that for you for non-VSX firewalls. No management involvement needed, but the GAiA API is relatively new. While I use VSX a lot, I have not yet tried using the GAiA API together with VSX, so I don't personally know whether they can work together.&lt;/P&gt;&lt;P&gt;For some definitions of "networks behind a firewall", you will need the antispoofing topology, which you can get via the management API. A few simple API commands ('show gateways-and-servers' to find the firewall you want, then 'show object uuid ____' to get the contents of the object) should give you all the raw data you need, though some quick jq would pare it down to only the topology. These API commands are available from R80 up, but I don't know if they return enough information about the firewall's interfaces to find the antispoofing topology in earlier versions. I know in R80.20 and up, they do.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 17:27:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97553#M10451</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2020-09-25T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97554#M10452</link>
      <description>&lt;P&gt;Thanks what I am looking for is an exportable list of what is shown on the Network Management page under the gateway cluster properties in console.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 18:43:49 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97554#M10452</guid>
      <dc:creator>CrossCheck</dc:creator>
      <dc:date>2020-09-25T18:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97568#M10453</link>
      <description>&lt;P&gt;Check out the address spoofing troubleshooting one-liner, it uses the compiled INSPECT policy to extract this information instead of the API:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/One-liner-for-Address-Spoofing-Troubleshooting/m-p/33204" target="_blank"&gt;https://community.checkpoint.com/t5/Enterprise-Appliances-and-Gaia/One-liner-for-Address-Spoofing-Troubleshooting/m-p/33204&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The policy files are typically accessed directly on the gateway by the script, but compiled policies for all gateways are cached on the SMS and could all just be accessed there.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 22:57:02 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97568#M10453</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-09-25T22:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97592#M10454</link>
      <description>&lt;P&gt;If you just want to have the information in text form without having to type all of it out yourself, this is a great option.&lt;/P&gt;&lt;P&gt;If you actually&amp;nbsp;&lt;EM&gt;need&lt;/EM&gt; it via the API for some reason (such as you need someone who can't log into the CLI to get it, or you are building some kind of integration), there isn't a single command to get it, but it's simple enough to build.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 15:04:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97592#M10454</guid>
      <dc:creator>Bob_Zimmerman</dc:creator>
      <dc:date>2020-09-26T15:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97708#M10455</link>
      <description>&lt;P&gt;Yes this works but I was hoping to be able to do it from the Console so i didn't need to log into each of the firewalls. Thats why I thought Maybe the API could do that based on a firewalls name and then it could be exported to a file.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:30:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97708#M10455</guid>
      <dc:creator>CrossCheck</dc:creator>
      <dc:date>2020-09-28T12:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97709#M10456</link>
      <description>&lt;P&gt;Then use my &lt;A href="https://community.checkpoint.com/t5/SmartConsole-Extensions/SmartConsole-Extension-Show-interface-topology-on-gateways/m-p/81871" target="_self"&gt;SmartConsole Extension&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:56:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97709#M10456</guid>
      <dc:creator>Danny</dc:creator>
      <dc:date>2020-09-28T12:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: list networks behind a firewall</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97714#M10457</link>
      <description>&lt;P&gt;You don't need to log into each of the firewalls.&amp;nbsp; From the SMS in expert mode run the anti-spoofing one-liner against the directories where the installed firewall policy is cached for all managed gateways, directory $FWDIR/state/(gateway object name)/FW1/.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:12:15 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/list-networks-behind-a-firewall/m-p/97714#M10457</guid>
      <dc:creator>Timothy_Hall</dc:creator>
      <dc:date>2020-09-28T13:12:15Z</dc:date>
    </item>
  </channel>
</rss>

