<?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 Adding NAT rule order in Panorama cli in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/123640#M46238</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to add around 60+ NAT rules for monitoring over IPsec that requires a policy NAT. I need to have them above another rule in the list for it to work. It is a very messy NAT list that I don't have the freedom to clean up. The NAT entries are being added to a device group in Panorama.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Danny&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2016 13:55:17 GMT</pubDate>
    <dc:creator>ixnneteng</dc:creator>
    <dc:date>2016-11-03T13:55:17Z</dc:date>
    <item>
      <title>Adding NAT rule order in Panorama cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/123640#M46238</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to add around 60+ NAT rules for monitoring over IPsec that requires a policy NAT. I need to have them above another rule in the list for it to work. It is a very messy NAT list that I don't have the freedom to clean up. The NAT entries are being added to a device group in Panorama.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Danny&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 13:55:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/123640#M46238</guid>
      <dc:creator>ixnneteng</dc:creator>
      <dc:date>2016-11-03T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NAT rule order in Panorama cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/123896#M46255</link>
      <description>&lt;P&gt;Hi Danny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I understand, in short, you want to add 60+ NAT rule to be above an existing rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that is the situation, you can configure the new NAT rules, and after you are done, clone this existing NAT rule, you can choose to have the new cloned rule to be after any rule you specify. After you clone it, delete old one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Haytham&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 22:17:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/123896#M46255</guid>
      <dc:creator>hzayed</dc:creator>
      <dc:date>2016-11-03T22:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NAT rule order in Panorama cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/124112#M46277</link>
      <description>&lt;P&gt;That would be the proper way to do it. I don't believe that you can actually do this automatically in the CLI, it's something that you have to modify after.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really wouldn't clone your existing rule and move it, just move the NAT rule that you need above the new ones.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 14:31:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/124112#M46277</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2016-11-04T14:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding NAT rule order in Panorama cli</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/124229#M46293</link>
      <description>&lt;P&gt;You can re-order using the CLI but you can't create rules with sequence numbers to place them where you want in the policy. (That would be a nice feature)&lt;/P&gt;&lt;P&gt;So if you really wanted to get the rules in order as you go, you would have to use a 'move' command after creating each nat rule.&lt;/P&gt;&lt;P&gt;Maybe something like this, depending on what order you want things in.&lt;/P&gt;&lt;P&gt;set device-group &amp;lt;groupname&amp;gt; pre-rulebase nat rules NAT1 .......&lt;/P&gt;&lt;P&gt;move device-group &amp;lt;groupname&amp;gt; pre-rulebase nat rules NAT1 before CURRENTNAT (or you could use 'top' instead of 'before' if you want it first)&lt;/P&gt;&lt;P&gt;set device-group &amp;lt;groupname&amp;gt; pre-rulebase nat rules NAT2 .......&lt;/P&gt;&lt;P&gt;move device-group &amp;lt;groupname&amp;gt; pre-rulebase nat rules NAT2 before CURRENTNAT (or you could use 'after NAT1' if you want it beneath)&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 21:27:12 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/adding-nat-rule-order-in-panorama-cli/m-p/124229#M46293</guid>
      <dc:creator>RFalconer</dc:creator>
      <dc:date>2016-11-04T21:27:12Z</dc:date>
    </item>
  </channel>
</rss>

