<?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>article Understanding Source NAT Address Types in General Articles</title>
    <link>https://live.paloaltonetworks.com/t5/general-articles/understanding-source-nat-address-types/ta-p/518269</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;I data-stringify-type="italic"&gt;This article is based on a discussion,&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/source-nat-with-pool/m-p/517061" target="_blank" rel="noopener"&gt;Source NAT with Pool&lt;/A&gt;,&lt;/SPAN&gt;&lt;/I&gt;&lt;I data-stringify-type="italic"&gt;&amp;nbsp;posted by&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/139105"&gt;@nattapong_thi&lt;/a&gt;.&lt;/SPAN&gt;&lt;/I&gt;&lt;I data-stringify-type="italic"&gt;&amp;nbsp;Read on to see the guidance from&lt;SPAN&gt;&amp;nbsp;Cyber Elite&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70130" target="_blank" rel="noopener"&gt;@Astardzhiev&lt;/A&gt;!&lt;/SPAN&gt;&lt;/I&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;For example, we use 110.110.110.0/24 as internet facing interface&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the difference between&lt;/P&gt;
&lt;P&gt;110.110.110.30/&lt;STRONG&gt;24&lt;/STRONG&gt; and 110.110.110.30/&lt;STRONG&gt;32&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which one is correct? When I configure a /24 it seems there's a conflict displayed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nattapong_thi_0-1665113789364.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44446i95234FF10EE7EF22/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nattapong_thi_0-1665113789364.png" alt="nattapong_thi_0-1665113789364.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nattapong_thi_1-1665113853182.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44447i063BBB3A5CE39840/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nattapong_thi_1-1665113853182.png" alt="nattapong_thi_1-1665113853182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;H2 id="toc-hId-1731577820"&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/139105"&gt;@nattapong_thi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;When you use Dynamic IP and Port for source nat, you have two options for defining what address to be used for translation:&lt;/P&gt;
&lt;P&gt;- Interface address - if you select this one, you tell the firewall to use the IP assigned to that particular interface to be used for translation. In this case firewall will translate all internal sources to single IP - the one configured on selected interface. On other words this is many-to-one translation&lt;/P&gt;
&lt;P&gt;- Translated address - if you select this one, firewall is expecting you to configure valid IP pool that it will use for translation. In this case you define how big is the pool. If you use /32 prefix, this means that pool consist of single IP and it is again same as many-to-one translation. If you use /24 prefix this means that pool has 255 available addresses, which firewall can use for translation - this is many-to-many translation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;110.110.110.30/32 is valid configuration, because /32 prefix define range of single IP&lt;/P&gt;
&lt;P&gt;110.110.110.30/24 is not valid configuration, because /24 prefix define range of 255 IP addresses, so the .30 is not the beginning of the prefix, but represent a host in that range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you are configure your outside interface with 110.110.110.30/24 this is now valid, because you tell that FW is assigned with IP .30 from a /24 network, from which firewall can identify the length of the network, network mask etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your specific case you can use either of the two:&lt;/P&gt;
&lt;P&gt;- Use "Interface address" for address type and select the interface of the outside/untrust interface.&lt;/P&gt;
&lt;P&gt;- Use "translated address" for type and enter /32 pool&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 08 Nov 2022 16:42:51 GMT</pubDate>
    <dc:creator>JayGolf</dc:creator>
    <dc:date>2022-11-08T16:42:51Z</dc:date>
    <item>
      <title>Understanding Source NAT Address Types</title>
      <link>https://live.paloaltonetworks.com/t5/general-articles/understanding-source-nat-address-types/ta-p/518269</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;I data-stringify-type="italic"&gt;This article is based on a discussion,&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://live.paloaltonetworks.com/t5/general-topics/source-nat-with-pool/m-p/517061" target="_blank" rel="noopener"&gt;Source NAT with Pool&lt;/A&gt;,&lt;/SPAN&gt;&lt;/I&gt;&lt;I data-stringify-type="italic"&gt;&amp;nbsp;posted by&lt;SPAN&gt;&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/139105"&gt;@nattapong_thi&lt;/a&gt;.&lt;/SPAN&gt;&lt;/I&gt;&lt;I data-stringify-type="italic"&gt;&amp;nbsp;Read on to see the guidance from&lt;SPAN&gt;&amp;nbsp;Cyber Elite&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/70130" target="_blank" rel="noopener"&gt;@Astardzhiev&lt;/A&gt;!&lt;/SPAN&gt;&lt;/I&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;For example, we use 110.110.110.0/24 as internet facing interface&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the difference between&lt;/P&gt;
&lt;P&gt;110.110.110.30/&lt;STRONG&gt;24&lt;/STRONG&gt; and 110.110.110.30/&lt;STRONG&gt;32&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which one is correct? When I configure a /24 it seems there's a conflict displayed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nattapong_thi_0-1665113789364.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44446i95234FF10EE7EF22/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="nattapong_thi_0-1665113789364.png" alt="nattapong_thi_0-1665113789364.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nattapong_thi_1-1665113853182.png" style="width: 999px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/44447i063BBB3A5CE39840/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nattapong_thi_1-1665113853182.png" alt="nattapong_thi_1-1665113853182.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;H2 id="toc-hId-1731577820"&gt;&lt;FONT color="#FF6600"&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/139105"&gt;@nattapong_thi&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;When you use Dynamic IP and Port for source nat, you have two options for defining what address to be used for translation:&lt;/P&gt;
&lt;P&gt;- Interface address - if you select this one, you tell the firewall to use the IP assigned to that particular interface to be used for translation. In this case firewall will translate all internal sources to single IP - the one configured on selected interface. On other words this is many-to-one translation&lt;/P&gt;
&lt;P&gt;- Translated address - if you select this one, firewall is expecting you to configure valid IP pool that it will use for translation. In this case you define how big is the pool. If you use /32 prefix, this means that pool consist of single IP and it is again same as many-to-one translation. If you use /24 prefix this means that pool has 255 available addresses, which firewall can use for translation - this is many-to-many translation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;110.110.110.30/32 is valid configuration, because /32 prefix define range of single IP&lt;/P&gt;
&lt;P&gt;110.110.110.30/24 is not valid configuration, because /24 prefix define range of 255 IP addresses, so the .30 is not the beginning of the prefix, but represent a host in that range.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you are configure your outside interface with 110.110.110.30/24 this is now valid, because you tell that FW is assigned with IP .30 from a /24 network, from which firewall can identify the length of the network, network mask etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your specific case you can use either of the two:&lt;/P&gt;
&lt;P&gt;- Use "Interface address" for address type and select the interface of the outside/untrust interface.&lt;/P&gt;
&lt;P&gt;- Use "translated address" for type and enter /32 pool&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Nov 2022 16:42:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-articles/understanding-source-nat-address-types/ta-p/518269</guid>
      <dc:creator>JayGolf</dc:creator>
      <dc:date>2022-11-08T16:42:51Z</dc:date>
    </item>
  </channel>
</rss>

