<?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 Jon, in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808695#M173222</link>
    <description>&lt;P&gt;Jon,&lt;/P&gt;
&lt;P&gt;I will try this when i get home and let you know the results.&lt;/P&gt;
&lt;P&gt;Thanks for the reply!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2016 00:47:42 GMT</pubDate>
    <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
    <dc:date>2016-01-20T00:47:42Z</dc:date>
    <item>
      <title>Port Forwarding Issues</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808693#M173220</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I have a cisco 2801 router at home, and i am having the time of my life trying to get some ports forwarded to support some servers. I have tried googling it many times but haven't found anything that will actually work. I keep trying to use the ip nat inside source static statement to forward the ports, but it doesn't seem to make a difference.&lt;/P&gt;
&lt;P&gt;In case you are wondering, this is for a Minecraft server which runs on tcp 25565.&lt;/P&gt;
&lt;P&gt;Here are the important parts of the config:&lt;/P&gt;
&lt;P&gt;(Output Omitted)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;interface FastEthernet0/0&lt;BR /&gt;&amp;nbsp;description LAN Link&lt;BR /&gt;&amp;nbsp;ip address 192.168.0.254 255.255.255.0&lt;BR /&gt;&amp;nbsp;ip nat inside&lt;BR /&gt;&amp;nbsp;ip virtual-reassembly&lt;BR /&gt;&amp;nbsp;duplex auto&lt;BR /&gt;&amp;nbsp;speed auto&lt;BR /&gt;!&lt;BR /&gt;interface FastEthernet0/1&lt;BR /&gt;&amp;nbsp;description WAN Link&lt;BR /&gt;&amp;nbsp;ip address dhcp&lt;BR /&gt;&amp;nbsp;ip access-group InternetACL in&lt;BR /&gt;&amp;nbsp;ip nat outside&lt;BR /&gt;&amp;nbsp;ip virtual-reassembly&lt;BR /&gt;&amp;nbsp;duplex auto&lt;BR /&gt;&amp;nbsp;speed auto&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;(Output Omitted)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ip nat inside source list LANSubnet interface FastEthernet0/1 overload&lt;BR /&gt;ip nat inside source static tcp 192.168.0.3 25565 interface FastEthernet0/1 25565&lt;/P&gt;
&lt;P&gt;(Output Omitted)&lt;/P&gt;
&lt;P&gt;ip access-list standard LANSubnet&lt;BR /&gt;&amp;nbsp;permit 192.168.0.0 0.0.0.255&lt;BR /&gt;&amp;nbsp;deny&amp;nbsp;&amp;nbsp; any&lt;BR /&gt;!&lt;BR /&gt;ip access-list extended InternetACL&lt;BR /&gt;&amp;nbsp;permit tcp any any established&lt;BR /&gt;&amp;nbsp;permit udp any eq domain any&lt;BR /&gt;&amp;nbsp;permit udp any eq bootps any&lt;BR /&gt;&amp;nbsp;permit udp any range 3478 3479 any&lt;BR /&gt;&amp;nbsp;permit icmp any any&lt;BR /&gt;&amp;nbsp;permit udp any eq 4380 any&lt;BR /&gt;&amp;nbsp;permit gre any any&lt;BR /&gt;&amp;nbsp;permit udp any range 4000 4001 any&lt;BR /&gt;&amp;nbsp;permit udp any range 5009 5013 any&lt;BR /&gt;&amp;nbsp;permit udp any range 27015 27100 any&lt;BR /&gt;&amp;nbsp;permit udp any eq 1500 any&lt;BR /&gt;&amp;nbsp;permit udp any eq 3101 any&lt;BR /&gt;&amp;nbsp;permit udp any eq 28960 any&lt;BR /&gt;&amp;nbsp;permit udp any eq 3005 any&lt;BR /&gt;&amp;nbsp;permit tcp any eq 25565 any&lt;/P&gt;
&lt;P&gt;(Output Omitted)&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Everything i have seen online says that this statement is supposed to make it work, but it doesn't seem to make a difference:&lt;/P&gt;
&lt;P&gt;ip nat inside source static tcp 192.168.0.3 25565 interface FastEthernet0/1 25565&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Also, here's what my show ip nat translations looks like:&lt;/P&gt;
&lt;P&gt;Pro&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; Inside global&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inside local&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Outside local&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Outside global&lt;BR /&gt;tcp&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ***Censored***:25565&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 192.168.0.3:25565&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; ---&lt;/P&gt;
&lt;P&gt;-Huge list of translations after this-&lt;/P&gt;
&lt;P&gt;For whatever reason, it's not mapping any external addresses to said ports, even when i try to have someone connect to it.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;When i go to canyouseeme.org, it tells me that there is no route to host on that particular port number...&lt;/P&gt;
&lt;P&gt;Basically, i'm at a loss here and i don't know what i'm doing wrong.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any help is appreciated!!!&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 07:09:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808693#M173220</guid>
      <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
      <dc:date>2019-03-12T07:09:58Z</dc:date>
    </item>
    <item>
      <title>The Nat statement is fine it</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808694#M173221</link>
      <description>&lt;P&gt;It is your acl entry.&lt;/P&gt;
&lt;P&gt;Change this -&lt;/P&gt;
&lt;P&gt;permit tcp any eq 25565 any&lt;/P&gt;
&lt;P&gt;to this -&lt;/P&gt;
&lt;P&gt;permit tcp any any eq 25565&lt;/P&gt;
&lt;P&gt;Jon&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 23:49:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808694#M173221</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2016-01-19T23:49:19Z</dc:date>
    </item>
    <item>
      <title>Jon,</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808695#M173222</link>
      <description>&lt;P&gt;Jon,&lt;/P&gt;
&lt;P&gt;I will try this when i get home and let you know the results.&lt;/P&gt;
&lt;P&gt;Thanks for the reply!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 00:47:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808695#M173222</guid>
      <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
      <dc:date>2016-01-20T00:47:42Z</dc:date>
    </item>
    <item>
      <title>Jon,</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808696#M173224</link>
      <description>&lt;P&gt;Jon,&lt;/P&gt;
&lt;P&gt;That fixed it!! Thank you so much!&lt;/P&gt;
&lt;P&gt;I hate to bug you too much more, but what is the main difference between those 2 entries?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 01:57:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808696#M173224</guid>
      <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
      <dc:date>2016-01-20T01:57:48Z</dc:date>
    </item>
    <item>
      <title>The entry you originally had</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808697#M173226</link>
      <description>&lt;P&gt;The entry you originally had said allow any source IP with a source port of 25565 to any IP address on any port but the source port would be a random source port&amp;nbsp;generated by the client ie. not 25565 so your acl did not allow the traffic&amp;nbsp;and it was blocked.&lt;/P&gt;
&lt;P&gt;The entry you replaced it with says allow any source IP using any port to any IP with a destination port of 25565 which works because that is the port your server is using.&lt;/P&gt;
&lt;P&gt;Hope that explains it, if not let me know and I'll go into more detail.&lt;/P&gt;
&lt;P&gt;Glad you got it working&lt;/P&gt;
&lt;P&gt;Jon&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 02:49:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808697#M173226</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2016-01-20T02:49:43Z</dc:date>
    </item>
    <item>
      <title>Jon,</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808698#M173228</link>
      <description>&lt;P&gt;Jon,&lt;/P&gt;
&lt;P&gt;Sorry to bug you again, but this should be the last time.&lt;/P&gt;
&lt;P&gt;Should i be doing the same thing for the udp ports? I tried changing the acl entries for the udp ports to the same syntax as the tcp entry you gave and it wouldn't let traffic through so i had to change it back. Why would it be different between tcp and udp? Also, would i have to do anything different to forward udp ports, or is it just the same process except for changing tcp to udp?&lt;/P&gt;
&lt;P&gt;Sorry to bombard you with these questions, but i really enjoy the help you've given so far. If nothing else, a nudge in the right direction will be more than enough for me.&lt;/P&gt;
&lt;P&gt;Thank you so much!!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 03:48:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808698#M173228</guid>
      <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
      <dc:date>2016-01-20T03:48:03Z</dc:date>
    </item>
    <item>
      <title>Don't worry about asking</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808699#M173230</link>
      <description>&lt;P&gt;Don't worry about asking questions, that's what these forums are for and you can ask as many questions as you like.&lt;/P&gt;
&lt;P&gt;I was&amp;nbsp;a bit rushed last night so I'll give a bit more explanation and apologies if you already know this.&lt;/P&gt;
&lt;P&gt;Whether it is TCP or UDP when a client connects to (usually) a server for the vast majority of applications the client generates a random port number. The server port number is a fixed port number because the client needs to know what port to connect on.&lt;/P&gt;
&lt;P&gt;That applies to virtually all applications.&lt;/P&gt;
&lt;P&gt;The direction you apply your acl is also important because it determines what are the source and destination IPs and port numbers.&lt;/P&gt;
&lt;P&gt;In your case you applied it inbound so the source IP and port numbers are the clients on the internet and the destination IP and port numbers were the server which is why you needed to modify the acl entry.&lt;/P&gt;
&lt;P&gt;I'm not sure why your UDP entries didn't work so by all means give some more details and we can look at that issue.&lt;/P&gt;
&lt;P&gt;If you wanted to port forward UDP ports to an internal server then yes you would do exactly the same ie. a static NAT statement and then an entry in your acl in the format we used.&lt;/P&gt;
&lt;P&gt;Feel free to come back with any more queries etc. you have.&lt;/P&gt;
&lt;P&gt;Jon&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 13:22:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808699#M173230</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2016-01-20T13:22:09Z</dc:date>
    </item>
    <item>
      <title>Jon,</title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808700#M173231</link>
      <description>&lt;P&gt;Jon,&lt;/P&gt;
&lt;P&gt;I will test it some more when i get home tonight, but yesterday i tried changing the udp entries in the ACL to be match the syntax of the tcp entries.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;P&gt;FROM - permit udp any eq 53 any TO - permit udp any any eq 53&lt;/P&gt;
&lt;P&gt;I did this with all the udp entries in the InternetACL.&lt;/P&gt;
&lt;P&gt;When i brought the connection back up with the updated udp entries, my WAN port (f0/1) wouldn't get a DHCP address from the modem. I changed the bootps entry back to permit any eq bootps any, and then i got an ip address, but left the other entries in the new format.&lt;/P&gt;
&lt;P&gt;After trying to get around on the internet for a little bit and not getting anywhere, i ended up changing all the udp entries back to the old format (permit any eq 53 any) and everything was working again. Although when i tried to forward the udp ports it didn't seem to work.&lt;/P&gt;
&lt;P&gt;This doesn't make sense to me because the syntax for the ACL entry that works means that it's looking at any source host from a specific port to access and destination host on any port, and from what you told me it should work the same as tcp.&lt;/P&gt;
&lt;P&gt;I'm probably typing something wrong somewhere... Like i said though, i will try it out again tonight and see if i run into the same issue.&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 19:40:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808700#M173231</guid>
      <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
      <dc:date>2016-01-20T19:40:58Z</dc:date>
    </item>
    <item>
      <title>Jon, </title>
      <link>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808701#M173233</link>
      <description>&lt;P&gt;Jon,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help! I was able to get everything working the way i needed thanks to your explanation of the ACL entries and the reminder of how source and destination ports work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything is good now, and hopefully i won't be back with too many more questions.&lt;/P&gt;
&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2016 20:22:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/port-forwarding-issues/m-p/2808701#M173233</guid>
      <dc:creator>whoa_i_wasnt_expecting_that</dc:creator>
      <dc:date>2016-01-23T20:22:37Z</dc:date>
    </item>
  </channel>
</rss>

