<?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: Using Static with port range in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725421#M1001121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create a new access-list with the host and port range you want applied to the outside interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 12:36:11 GMT</pubDate>
    <dc:creator>rigoberto.cintron</dc:creator>
    <dc:date>2007-08-09T12:36:11Z</dc:date>
    <item>
      <title>Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725413#M1001113</link>
      <description>&lt;P&gt;I have situation in which i need use port range with Static.&lt;/P&gt;&lt;P&gt;is it possible???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 10:54:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725413#M1001113</guid>
      <dc:creator>a.liotych</dc:creator>
      <dc:date>2019-03-11T10:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725414#M1001114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is posible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of port range, accessing and inside host from the outside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three steps:&lt;/P&gt;&lt;P&gt;1- Create one-to-one static NAT for inside host&lt;/P&gt;&lt;P&gt;2- Create object group with port range&lt;/P&gt;&lt;P&gt;3- Create access list and apply to ouside interface. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for sake of example  10.10.10.1 is a host on your inside interface, 20.20.20.1 is NATed address for 10.10.10.1  comming from the oustide interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1- create static nat&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;static (inside,outside) 20.20.20.1  10.10.10.1  netmask 255.255.255.255 0 0&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2- create object group&lt;/P&gt;&lt;P&gt;example creating  TCP port range  of 4000 to 4500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-group service TEST tcp&lt;/P&gt;&lt;P&gt; port-object range 4000 4500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3- create access-list and apply to outside interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example creating access list applying port range , any host ouside accessing 20.20.20.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_access_in permit tcp any  host 20.20.20.1  object-group TEST&lt;/P&gt;&lt;P&gt;access-group outside_access_in in interface outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 14:27:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725414#M1001114</guid>
      <dc:creator>JORGE RODRIGUEZ</dc:creator>
      <dc:date>2007-08-06T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725415#M1001115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here's an example where you need to translate ports 1024-1030 for example, and 25, 80. Internal host is 192.168.1.1, external address will be 31.1.1.1&lt;/P&gt;&lt;P&gt;access-list 101 permit tcp host 192.168.1.1 range 1024 1030 any &lt;/P&gt;&lt;P&gt;access-list 101 permit tcp host 192.168.1.1 eq 25 any&lt;/P&gt;&lt;P&gt;access-list 101 permit tcp host 192.168.1.1 eq 80 any&lt;/P&gt;&lt;P&gt;static (inside,outside) 31.1.1.1 access-list 101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to translate a different inside host to another port with same external address not previously listed, simply add another acl entry:&lt;/P&gt;&lt;P&gt;access-list 101 permit tcp host 192.168.1.2 eq 443 any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From here, you can add your normal inbound acl's to the external interface permitting access to these ports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note - you could use object-groups to reduce the size of the acl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could have used port redirection - aka static PAT.  imho the method above scales better, especially since you needed a range of ports translated.. but thats just a personal preference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00804708b4.shtml" target="_blank"&gt;http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a00804708b4.shtml&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 16:37:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725415#M1001115</guid>
      <dc:creator>srue</dc:creator>
      <dc:date>2007-08-06T16:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725416#M1001116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried testing my above config on a 7.2(2) pix and it didn't work...looks like you might just have to do static PAT entries for each port number in your range.&lt;/P&gt;&lt;P&gt;so much for my grand ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 17:21:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725416#M1001116</guid>
      <dc:creator>srue</dc:creator>
      <dc:date>2007-08-06T17:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725417#M1001117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried to do as you say. I've got an error!!&lt;/P&gt;&lt;P&gt;access-list 101 permit tcp host 192.168.1.1 range 1024 1030 any&lt;/P&gt;&lt;P&gt;static (inside,outside) 31.1.1.1 access-list 101&lt;/P&gt;&lt;P&gt;ERROR: access-list port specifies a range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 07:37:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725417#M1001117</guid>
      <dc:creator>a.liotych</dc:creator>
      <dc:date>2007-08-07T07:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725418#M1001118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried it too...while it accepted all the commands, it didn't actually work properly.&lt;/P&gt;&lt;P&gt;what version pix are you running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 09:52:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725418#M1001118</guid>
      <dc:creator>srue</dc:creator>
      <dc:date>2007-08-07T09:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725419#M1001119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cisco pix 501&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2007 09:59:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725419#M1001119</guid>
      <dc:creator>a.liotych</dc:creator>
      <dc:date>2007-08-07T09:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725420#M1001120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;access-list 101 permit tcp host 192.168.1.1 range 1024 1030 any &lt;/P&gt;&lt;P&gt;static (inside,outside)  217.21.54.103  access-list 101 &lt;/P&gt;&lt;P&gt;ERROR: access-list port specifies a range &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:11:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725420#M1001120</guid>
      <dc:creator>a.liotych</dc:creator>
      <dc:date>2007-08-09T12:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using Static with port range</title>
      <link>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725421#M1001121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just create a new access-list with the host and port range you want applied to the outside interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 12:36:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-static-with-port-range/m-p/725421#M1001121</guid>
      <dc:creator>rigoberto.cintron</dc:creator>
      <dc:date>2007-08-09T12:36:11Z</dc:date>
    </item>
  </channel>
</rss>

