<?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 in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611790#M559749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good call, that's always one of the tricks &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Mar 2011 07:20:15 GMT</pubDate>
    <dc:creator>Jennifer Halim</dc:creator>
    <dc:date>2011-03-18T07:20:15Z</dc:date>
    <item>
      <title>Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611783#M559738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to allow RDP into a machine behind a DSL router/modem and the DSL route/modem is behind Cisco PIX firewall, I am not sure if it's possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSL is obviously doing nat inside and outside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cisco PIX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list outside_access_in extended permit tcp any interface outside eq 63389&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static (inside,outside) tcp interface 63389 192.168.1.51 63389 netmask 255.255.255.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cisco router:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialer0 192.168.1.51&lt;/P&gt;&lt;P&gt;int fa0 192.168.2.1/24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip nat ouside source static tcp 192.168.1.51 63389 192.168.2.101 3389&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far my tests are failing, any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 20:08:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611783#M559738</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2019-03-11T20:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611784#M559739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please advise if your PIX outside interface is assigned a public ip address as it changes the NAT that you would need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NATing needs to be done for the RDP server, not for the router interface ip address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly provide a copy of the PIX configuration, the server ip address and assuming that you would like to NAT it to the PIX outside interface IP so we can help accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 06:54:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611784#M559739</guid>
      <dc:creator>Jennifer Halim</dc:creator>
      <dc:date>2011-03-17T06:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611785#M559740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I knew it was going to be&amp;nbsp; a confusing one but I will try to explain it a bit better hopefully &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The DSL router is behind the PIX firewall and the PIX doesn't know about the LAN on the DSL router, it only knows the DSL port (dialer0) ip address. Remeber that DSL router is natting everyting on it's inside to the dialer0 IP address (192.168.1.51) and that is what the PIX knows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 192.168.1.51 is the dialer0 ip address of the DSL router that PIX can reach, the RDP server 192.168.2.101 that PIX doesn't know&amp;nbsp; and is hidden behind the dialer0 and gets natted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PIX outside interface does have a public IP address and packet tracer shows that packet from outside destined to the outside interface of the PIX on port 63389 is allowed, but obviously it doesn't work end to end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could it be that because the nat happens twice once on the PIX to the dialer0 ip address of the DSL router which is already natting/patting the LAN on the DSL router.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if it doesn't make sense and I will draw a diagram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 11:51:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611785#M559740</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2011-03-17T11:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611786#M559742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the diagram as per your description:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RDP (192.168.2.101) -- router (192.168.1.51) -- (inside) PIX (outside) -- internet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please confirm if that is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is, then the NAT configured is incorrect. You currently have:&lt;/P&gt;&lt;P&gt;ip nat ouside source static tcp 192.168.1.51 63389 192.168.2.101 3389&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be:&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 192.168.2.101 3389 192.168.1.51 63389&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear the nat translation after the above config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can configure route on the PIX for 192.168.2.0/24 network to point to 192.168.1.51, and directly NAT it to 192.168.2.101 on the PIX.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 12:14:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611786#M559742</guid>
      <dc:creator>Jennifer Halim</dc:creator>
      <dc:date>2011-03-17T12:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611787#M559744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the diagram is correct. I changed the translation as you suggested but it doesn't make any difference, given that the DSL router is already patting everyting, isn't this going to break the static nat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried adding a route to 192.168.2.101 on the PIX but I can't reach this IP from the pix because it gets patted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, this is the debug output on the DSL router.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Apr&amp;nbsp; 6 22:17:52.536: NAT - SYSTEM PORT for 192.168.1.51: allocated port 0, refcount 42, localport 4294967295, localaddr 0.0.0.0, flags 1, syscount 42, proto 6&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, 18 Mar 2011 00:46:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611787#M559744</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2011-03-18T00:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611788#M559745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Static NAT takes precedence over dynamic PAT, so that should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second option, you would need to configure deny for traffic between the server to anything on port 3389.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, to keep it simple, can you try without changing the port first, just use the default port 3389 on the NAT/PAT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also pls share the config of both router and PIX after the changes. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 00:54:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611788#M559745</guid>
      <dc:creator>Jennifer Halim</dc:creator>
      <dc:date>2011-03-18T00:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611789#M559747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. It's all good and working, a reboot of the router might have done the trick but don't know. I didn't change anything &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 07:17:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611789#M559747</guid>
      <dc:creator>hadisharifi</dc:creator>
      <dc:date>2011-03-18T07:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Port Forwarding</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611790#M559749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good call, that's always one of the tricks &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 07:20:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding/m-p/1611790#M559749</guid>
      <dc:creator>Jennifer Halim</dc:creator>
      <dc:date>2011-03-18T07:20:15Z</dc:date>
    </item>
  </channel>
</rss>

