<?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: Port Forwarding Issue in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675654#M535061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. I haven't tried you last suggestion yet because I had to get this working. I created static auto nat and it woks like a charm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this means I have to create a new network object for every port and this could mean dozen of network object for the same host with different ports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the log messages, I see that with the policy nat as in my original post. The traffic&amp;nbsp; is denied because its destination IP is the NATed address and not the real address. Where as with every other log messages it's the real address as the destination. The access list is configured to allow traffic on those ports to the real address and not the nated address. I have tested this with both and the same result. When I use packet tracer, it first UNNATs and then allows the packet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the above makes sense. There must be something that I am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jul 2011 04:54:28 GMT</pubDate>
    <dc:creator>hadisharifi</dc:creator>
    <dc:date>2011-07-29T04:54:28Z</dc:date>
    <item>
      <title>Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675650#M535054</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to port forward multiple ports on the same server using a single public IP address. The address is routable and not used elsewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configuration is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Layton&lt;/P&gt;&lt;P&gt; host 10.0.22.52 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object service Feed1&lt;/P&gt;&lt;P&gt; service tcp destination eq 49152 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object service Feed2 &lt;/P&gt;&lt;P&gt; service tcp source range 43215 43216 destination range 43215 43216 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Public &lt;/P&gt;&lt;P&gt; host 2.2.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nat (DMZ,outside) source static Layton Public service Feed1 Feed1&lt;/P&gt;&lt;P&gt;nat (DMZ,outside) source static Layton Public service Feed2 Feed2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_access_in extended permit object Feed1 any object Layton &lt;/P&gt;&lt;P&gt;access-list outside_access_in extended permit object Feed2 any object Layton &lt;/P&gt;&lt;P&gt;&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;This works when tested in Packet tracer but only with the source port as 49152 and not any other source port, even though I haven't configured any source port in the object service. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log shows below:&lt;/P&gt;&lt;P&gt;Inbound TCP connection denied from x.x.x.x/57090 2.2.2.2/49152 flags SYN on interface outside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 21:03:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675650#M535054</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2019-03-11T21:03:31Z</dc:date>
    </item>
    <item>
      <title>Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675651#M535056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please take captures between the host and the server, it would meake it clear, where the connectionis being dropped:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" href="https://community.cisco.com/docs/DOC-1222"&gt;https://supportforums.cisco.com/docs/DOC-1222&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 06:36:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675651#M535056</guid>
      <dc:creator>varrao</dc:creator>
      <dc:date>2011-07-26T06:36:17Z</dc:date>
    </item>
    <item>
      <title>Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675652#M535058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My aim is to port forward multiple ports on the same IP address:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want ports 43215, 43216 and 49152 and going forward many other ports to 2.2.2.2 which is then forwarded to 10.0.22.52.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My original config in my first post doesn't work, however if I configure static nat for each port it does work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Public&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;host 2.2.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Layton43215&lt;/P&gt;&lt;P&gt;host 10.0.22.52&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object Layton43215&lt;/P&gt;&lt;P&gt;nat (DMZ,outside) static Public service tcp 43215 43215&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object Layton43216&lt;/P&gt;&lt;P&gt;nat (DMZ,outside) static Public service tcp 43216 43216&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that I have to create a network bject for every port, any other solutions that will be better than this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 00:54:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675652#M535058</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2011-07-27T00:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675653#M535059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hadi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try this statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object service Feed2 &lt;/P&gt;&lt;P&gt; service tcp destination range 43215 43216 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Public &lt;/P&gt;&lt;P&gt; host 2.2.2.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network Layton&lt;/P&gt;&lt;P&gt; host 10.0.22.52 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; nat (outside,inside) source static any any destination static Public Layton service Feed2 Feed2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_access_in extended permit object Feed2 any object Layton &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;Can you try it and let me know??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 03:15:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675653#M535059</guid>
      <dc:creator>varrao</dc:creator>
      <dc:date>2011-07-27T03:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675654#M535061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. I haven't tried you last suggestion yet because I had to get this working. I created static auto nat and it woks like a charm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this means I have to create a new network object for every port and this could mean dozen of network object for the same host with different ports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the log messages, I see that with the policy nat as in my original post. The traffic&amp;nbsp; is denied because its destination IP is the NATed address and not the real address. Where as with every other log messages it's the real address as the destination. The access list is configured to allow traffic on those ports to the real address and not the nated address. I have tested this with both and the same result. When I use packet tracer, it first UNNATs and then allows the packet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the above makes sense. There must be something that I am doing wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 04:54:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675654#M535061</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2011-07-29T04:54:28Z</dc:date>
    </item>
    <item>
      <title>Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675655#M535062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hadi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All your concerns are correct and genuine. With post 8.3, there are many changes in the syntax as well as logic with NAT and ACL. Pre 8.3 you are right, you would open ports for your Natted IP in the ACL but post 8.3, the packet flow has changed a bit, whenever a packet hits the firewall, it would first hit the NAT rule and after translating the natted ip to real ip , then the ACL is hit, and thats y u open ports for the real ip. Now you would be confused what was the need for it, so I'll say, consider a situation where, you have changed the ISP and the new ISP gives you another range of ip's to be used, so before 8.3, you would have to change the ACL and NAT both, but post 8.3 you just need to change the NAT rules and you are done &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/4.5.4/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; So it does have adavantages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, if you have to add multiple ports, you need not create an object each time, just create an object-group and keep adding ports if you need it for a particular host.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any more questions for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this was helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 08:41:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675655#M535062</guid>
      <dc:creator>varrao</dc:creator>
      <dc:date>2011-07-29T08:41:33Z</dc:date>
    </item>
    <item>
      <title>Port Forwarding Issue</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675656#M535063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the calrification, I have read further and your post cleared it up, so thanks. However the original config still doesn't work and I still need to get that solution working where I have a single object with the real IP and one for translated IP, and I will add the ports as necessarry. However this doesn't work and the syslog shows that the ACL is blocking connection to the translated IP and not the real IP. This to my limited knowledge means there is something wrong with NAT. Every other ACL in the syslog shows that the ACL is checking the connection against the real IP address and not the translated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 09:28:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issue/m-p/1675656#M535063</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2011-07-29T09:28:38Z</dc:date>
    </item>
  </channel>
</rss>

