<?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 PIX NAT to certain global range based on destination address in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/pix-nat-to-certain-global-range-based-on-destination-address/m-p/76677#M627667</link>
    <description>&lt;P&gt;I'm looking for a way to let our PIX 525s (running OS 6.2(1)) use a select global range of addresses when the users in our network are trying to reach  select external sites.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the inside interface we're using 10.194.134.0/23&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- When trying to reach 1.1.1.0/24 (inside-2) the pix should not nat&lt;/P&gt;&lt;P&gt;- When trying to reach 2.2.2.0/24 (inside-3) the pix should not nat&lt;/P&gt;&lt;P&gt;- When trying to reach 10.234.0.0/16 (external partner network) the pix should nat to 10.234.3.0/28&lt;/P&gt;&lt;P&gt;- When trying to reach anything else (internet) the pix should nat to 3.3.3.0/27&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping to get this to work using the following config snippet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list from-inside-to-local-lan permit ip 10.194.134.0 255.255.254.0 1.1.1.0 255.255.255.0 &lt;/P&gt;&lt;P&gt;access-list from-inside-to-local-lan permit ip 10.194.134.0 255.255.254.0 2.2.2.0 255.255.255.0&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list from-inside-to-partner-lan permit ip 10.194.134.0 255.255.254.0 10.234.0.0 255.255.0.0&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! 1st global range&lt;/P&gt;&lt;P&gt;global (outside) 1 10.234.3.1-10.234.3.14 netmask 255.255.255.240&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! overload 1st range&lt;/P&gt;&lt;P&gt;global (outside) 1 10.234.3.15&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! 2nd global range&lt;/P&gt;&lt;P&gt;global (outside) 2 3.3.3.1-3.3.3.29 netmask 255.255.255.224&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! overload 2nd range&lt;/P&gt;&lt;P&gt;global (outside) 2 3.3.3.30&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list from-inside-to-local-lan&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! use 1st global range for partner traffic&lt;/P&gt;&lt;P&gt;nat (inside) 1 access-list from-inside-to-partner-lan&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! use 2nd global range for all other traffic&lt;/P&gt;&lt;P&gt;nat (inside) 2 0.0.0.0 0.0.0.0 0 0&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the nat statements sort-of equivalent to a route-map on an IOS device, in this case the nat statement is meant to fall through to the 2nd option if the first doesn't match and to fall through to the 3rd option if the 2nd doesn't match (and so on...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it seems that access-lists can only be combined with the "nat 0" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is somebody out there that has ever faced a similar challenge and who has found a solution, I'd be very interested to hear it. If not, I'd like to to file a feature request &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frans&lt;/P&gt;</description>
    <pubDate>Fri, 21 Feb 2020 06:09:42 GMT</pubDate>
    <dc:creator>fter</dc:creator>
    <dc:date>2020-02-21T06:09:42Z</dc:date>
    <item>
      <title>PIX NAT to certain global range based on destination address</title>
      <link>https://community.cisco.com/t5/network-security/pix-nat-to-certain-global-range-based-on-destination-address/m-p/76677#M627667</link>
      <description>&lt;P&gt;I'm looking for a way to let our PIX 525s (running OS 6.2(1)) use a select global range of addresses when the users in our network are trying to reach  select external sites.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the inside interface we're using 10.194.134.0/23&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- When trying to reach 1.1.1.0/24 (inside-2) the pix should not nat&lt;/P&gt;&lt;P&gt;- When trying to reach 2.2.2.0/24 (inside-3) the pix should not nat&lt;/P&gt;&lt;P&gt;- When trying to reach 10.234.0.0/16 (external partner network) the pix should nat to 10.234.3.0/28&lt;/P&gt;&lt;P&gt;- When trying to reach anything else (internet) the pix should nat to 3.3.3.0/27&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping to get this to work using the following config snippet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list from-inside-to-local-lan permit ip 10.194.134.0 255.255.254.0 1.1.1.0 255.255.255.0 &lt;/P&gt;&lt;P&gt;access-list from-inside-to-local-lan permit ip 10.194.134.0 255.255.254.0 2.2.2.0 255.255.255.0&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;access-list from-inside-to-partner-lan permit ip 10.194.134.0 255.255.254.0 10.234.0.0 255.255.0.0&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! 1st global range&lt;/P&gt;&lt;P&gt;global (outside) 1 10.234.3.1-10.234.3.14 netmask 255.255.255.240&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! overload 1st range&lt;/P&gt;&lt;P&gt;global (outside) 1 10.234.3.15&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! 2nd global range&lt;/P&gt;&lt;P&gt;global (outside) 2 3.3.3.1-3.3.3.29 netmask 255.255.255.224&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! overload 2nd range&lt;/P&gt;&lt;P&gt;global (outside) 2 3.3.3.30&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;nat (inside) 0 access-list from-inside-to-local-lan&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! use 1st global range for partner traffic&lt;/P&gt;&lt;P&gt;nat (inside) 1 access-list from-inside-to-partner-lan&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;! use 2nd global range for all other traffic&lt;/P&gt;&lt;P&gt;nat (inside) 2 0.0.0.0 0.0.0.0 0 0&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the nat statements sort-of equivalent to a route-map on an IOS device, in this case the nat statement is meant to fall through to the 2nd option if the first doesn't match and to fall through to the 3rd option if the 2nd doesn't match (and so on...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately it seems that access-lists can only be combined with the "nat 0" statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is somebody out there that has ever faced a similar challenge and who has found a solution, I'd be very interested to hear it. If not, I'd like to to file a feature request &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frans&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 06:09:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pix-nat-to-certain-global-range-based-on-destination-address/m-p/76677#M627667</guid>
      <dc:creator>fter</dc:creator>
      <dc:date>2020-02-21T06:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: PIX NAT to certain global range based on destination address</title>
      <link>https://community.cisco.com/t5/network-security/pix-nat-to-certain-global-range-based-on-destination-address/m-p/76678#M627684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- When trying to reach 1.1.1.0/24 (inside-2) the pix should not nat &lt;/P&gt;&lt;P&gt;- When trying to reach 2.2.2.0/24 (inside-3) the pix should not nat &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Bypassing nat "&lt;/P&gt;&lt;P&gt; nat (inside) 0 access-list &lt;NUMBER&gt;  command will do&lt;/NUMBER&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- When trying to reach 10.234.0.0/16 (external partner network) the pix should nat to 10.234.3.0/28 &lt;/P&gt;&lt;P&gt;- When trying to reach anything else (internet) the pix should nat to 3.3.3.0/27 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"policy natting":&lt;/P&gt;&lt;P&gt;It is very easy to do it in a router with "route-map" command, but in a PIX, we do not support it at this moment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you really need this feature,  please go ahead to  file a feature request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jul 2002 03:40:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/pix-nat-to-certain-global-range-based-on-destination-address/m-p/76678#M627684</guid>
      <dc:creator>paqiu</dc:creator>
      <dc:date>2002-07-16T03:40:27Z</dc:date>
    </item>
  </channel>
</rss>

