<?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 ACL - What am I doing wrong? in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191328#M351316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you got it working &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Apr 2013 14:46:38 GMT</pubDate>
    <dc:creator>Jouni Forss</dc:creator>
    <dc:date>2013-04-22T14:46:38Z</dc:date>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191322#M351310</link>
      <description>&lt;P&gt;No, I am not talking aout my knee....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a 2621 router - old. but works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to put in an ACL to limit the inbound SMTP traffic to be FROM a specific set of IP's, and deny all others.&lt;/P&gt;&lt;P&gt;I have tried various combinations with no luck.&amp;nbsp; Something obvious, I am sure.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have applied the ACL to either interface, both in and out, but no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do a show access lists 160 it shows all SMTP traffic being snagged by the SMTP deny statement.&amp;nbsp; All other traffic works correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my config so far...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current configuration : 3093 bytes&lt;BR /&gt;!&lt;BR /&gt;version 12.2&lt;BR /&gt;no service single-slot-reload-enable&lt;BR /&gt;service timestamps debug uptime&lt;BR /&gt;service timestamps log uptime&lt;BR /&gt;no service password-encryption&lt;BR /&gt;!&lt;BR /&gt;hostname xxxxxxxxxx&lt;BR /&gt;!&lt;BR /&gt;logging rate-limit console 10 except errors&lt;BR /&gt;enable secret 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;!&lt;BR /&gt;ip subnet-zero&lt;BR /&gt;no ip source-route&lt;BR /&gt;ip cef&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;no ip finger&lt;BR /&gt;ip domain-name xxxxxxxxxxxx.xxx&lt;BR /&gt;ip name-server xx.xx.xx.xx&lt;BR /&gt;ip name-server xx.xx.xx.xx&lt;BR /&gt;ip dhcp excluded-address 10.0.0.0 10.0.0.99&lt;BR /&gt;!&lt;BR /&gt;ip dhcp pool BigBob&lt;BR /&gt;&amp;nbsp;&amp;nbsp; network 10.0.0.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; domain-name xxxxxxxxx.xxx&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dns-server xx.xx.xx.xx xx.xx.xx.xx &lt;BR /&gt;&amp;nbsp;&amp;nbsp; default-router 10.0.0.1 &lt;BR /&gt;!&lt;BR /&gt;no ip bootp server&lt;BR /&gt;no ip dhcp-client network-discovery&lt;BR /&gt;!&lt;BR /&gt;call rsvp-sync&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;interface FastEthernet0/0&lt;BR /&gt;ip address 99.xxx.xxx.157 255.255.255.248&lt;/P&gt;&lt;P&gt;Current configuration : 3093 bytes&lt;BR /&gt;!&lt;BR /&gt;version 12.2&lt;BR /&gt;no service single-slot-reload-enable&lt;BR /&gt;service timestamps debug uptime&lt;BR /&gt;service timestamps log uptime&lt;BR /&gt;no service password-encryption&lt;BR /&gt;!&lt;BR /&gt;hostname xxxxxxxxxx&lt;BR /&gt;!&lt;BR /&gt;logging rate-limit console 10 except errors&lt;BR /&gt;enable secret 5 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;BR /&gt;!&lt;BR /&gt;ip subnet-zero&lt;BR /&gt;no ip source-route&lt;BR /&gt;ip cef&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;no ip finger&lt;BR /&gt;ip domain-name xxxxxxxxxxxx.xxx&lt;BR /&gt;ip name-server xx.xx.xx.xx&lt;BR /&gt;ip name-server xx.xx.xx.xx&lt;BR /&gt;ip dhcp excluded-address 10.0.0.0 10.0.0.99&lt;BR /&gt;!&lt;BR /&gt;ip dhcp pool BigBob&lt;BR /&gt;&amp;nbsp;&amp;nbsp; network 10.0.0.0 255.255.255.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; domain-name xxxxxxxxx.xxx&lt;BR /&gt;&amp;nbsp;&amp;nbsp; dns-server xx.xx.xx.xx xx.xx.xx.xx &lt;BR /&gt;&amp;nbsp;&amp;nbsp; default-router 10.0.0.1 &lt;BR /&gt;!&lt;BR /&gt;no ip bootp server&lt;BR /&gt;no ip dhcp-client network-discovery&lt;BR /&gt;!&lt;BR /&gt;call rsvp-sync&lt;BR /&gt;!&lt;BR /&gt;interface FastEthernet0/0&lt;BR /&gt;ip address 99.xxx.xxx.157 255.255.255.248&lt;/P&gt;&lt;P&gt;ip access-group 160 in&lt;BR /&gt;ip verify unicast reverse-path&lt;BR /&gt;no ip redirects&lt;BR /&gt;no ip unreachables&lt;BR /&gt;no ip proxy-arp&lt;BR /&gt;ip nat outside&lt;BR /&gt;duplex auto&lt;BR /&gt;speed auto&lt;BR /&gt;no cdp enable&lt;BR /&gt;!&lt;BR /&gt;interface FastEthernet0/1&lt;BR /&gt;ip address 10.0.0.1 255.255.255.0&lt;/P&gt;&lt;P&gt;ip verify unicast reverse-path&lt;BR /&gt;no ip redirects&lt;BR /&gt;no ip unreachables&lt;BR /&gt;ip nat inside&lt;BR /&gt;duplex auto&lt;BR /&gt;speed auto&lt;BR /&gt;no cdp enable&lt;BR /&gt;!&lt;BR /&gt;ip default-gateway 99.xx.xx.158&lt;BR /&gt;ip nat inside source list 1 interface FastEthernet0/0 overload&lt;BR /&gt;ip nat inside source static tcp 10.0.0.109 3389 99.xxx.xxx.157 3389 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.2 585 99.xxx.xxx.157 585 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.2 143 99.xxx.xxx.157 143 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.2 110 99.xxx.xxx.157 110 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.2 80 99.xxx.xxx.157 80 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.2 443 99.xxx.xxx.157 443 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.95 2438 99.xxx.xxx.157 2438 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.95 1632 99.xxx.xxx.157 1632 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.95 1634 99.xxx.xxx.157 1634 extendable&lt;BR /&gt;ip nat inside source static tcp 10.0.0.2 25 99.xxx.xxx.157 25 extendable&lt;BR /&gt;ip classless&lt;BR /&gt;no ip forward-protocol udp netbios-ns&lt;BR /&gt;no ip forward-protocol udp netbios-dgm&lt;BR /&gt;ip route 0.0.0.0 0.0.0.0 99.xx.xx.158&lt;BR /&gt;no ip http server&lt;BR /&gt;!&lt;BR /&gt;access-list 1 permit any&lt;BR /&gt;access-list 160 permit tcp 209.213.83.0 0.0.0.255 host 10.0.0.2 eq smtp&lt;BR /&gt;access-list 160 permit tcp 74.118.76.0 0.0.0.255 host 10.0.0.2 eq smtp&lt;BR /&gt;access-list 160 permit tcp 50.202.38.0 0.0.0.255 host 10.0.0.2 eq smtp&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; tcp any any eq smtp&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 172.16.0.0 0.15.255.255 any&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 192.168.0.0 0.0.255.255 any&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 127.0.0.0 0.255.255.255 any&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 224.0.0.0 7.255.255.255 any&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 169.254.0.0 0.0.255.255 any&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 255.0.0.0 0.255.255.255 any&lt;BR /&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip host 0.0.0.0 any&lt;BR /&gt;access-list 160 permit ip any any&lt;BR /&gt;dialer-list 1 protocol ip permit&lt;BR /&gt;no cdp run&lt;BR /&gt;!&lt;BR /&gt;dial-peer cor custom&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;!&lt;BR /&gt;line con 0&lt;BR /&gt;logging synchronous&lt;BR /&gt;transport input none&lt;BR /&gt;line aux 0&lt;BR /&gt;line vty 0 4&lt;BR /&gt;access-class 1 in&lt;BR /&gt;password xxxxxxxxxxx&lt;BR /&gt;login&lt;BR /&gt;line vty 5 14&lt;BR /&gt;password xxxxxxxxxxx&lt;BR /&gt;login&lt;BR /&gt;line vty 15&lt;BR /&gt;password xxxxxxxxxxxxxx&lt;BR /&gt;login&lt;BR /&gt;!&lt;BR /&gt;end&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:32:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191322#M351310</guid>
      <dc:creator>tim.meyer</dc:creator>
      <dc:date>2019-03-12T01:32:26Z</dc:date>
    </item>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191323#M351311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shouldnt you be using the Public NAT IP address in the SMTP allowing statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list 160 permit tcp 209.213.83.0 0.0.0.255 host 99.xxx.xxx.157 eq smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list 160 permit tcp 74.118.76.0 0.0.0.255 host 99.xxx.xxx.157 eq smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;access-list 160 permit tcp 50.202.38.0 0.0.0.255 host 99.xxx.xxx.157 eq smtp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; tcp any any eq smtp&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 172.16.0.0 0.15.255.255 any&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 192.168.0.0 0.0.255.255 any&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 127.0.0.0 0.255.255.255 any&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 224.0.0.0 7.255.255.255 any&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 169.254.0.0 0.0.255.255 any&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip 255.0.0.0 0.255.255.255 any&lt;/P&gt;&lt;P&gt;access-list 160 deny&amp;nbsp;&amp;nbsp; ip host 0.0.0.0 any&lt;/P&gt;&lt;P&gt;access-list 160 permit ip any any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 22:52:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191323#M351311</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-21T22:52:27Z</dc:date>
    </item>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191324#M351312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That is a combination I did not try yet.&amp;nbsp; It will try it Monday and find out for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would I need a NAT statement on the outside while working with public IP's?&amp;nbsp; (truly asking, not being a smart @ss)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the mean time, if anyone else has any ideas please feel free to mention them....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been some time since I programmed one of these, as you can tell.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 23:03:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191324#M351312</guid>
      <dc:creator>tim.meyer</dc:creator>
      <dc:date>2013-04-21T23:03:48Z</dc:date>
    </item>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191325#M351313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well to me it seems you have several Static PAT / Port Forward NAT configurations on the router&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.109 3389 99.xxx.xxx.157 3389 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.2 585 99.xxx.xxx.157 585 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.2 143 99.xxx.xxx.157 143 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.2 110 99.xxx.xxx.157 110 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.2 80 99.xxx.xxx.157 80 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.2 443 99.xxx.xxx.157 443 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.95 2438 99.xxx.xxx.157 2438 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.95 1632 99.xxx.xxx.157 1632 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.95 1634 99.xxx.xxx.157 1634 extendable&lt;/P&gt;&lt;P&gt;ip nat inside source static tcp 10.0.0.2 25 99.xxx.xxx.157 25 extendable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last one of those is for SMTP which you are trying to get working. The configuration basically tells that when traffic from Internet is coming towards 99.xxx.xxx.157 with destination port TCP/25 (SMTP) then the traffic should be forwarded to the LAN host 10.0.0.2 on port TCP/25.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when we look at the ACL you have configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have an ACL named "106". It is attached to the WAN interface in the direction "in". This means it will be controlling packet headed towards the WAN interface from the Internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this traffic is SMTP traffic from the Internet then naturally it will be heading towards your public IP address, which is the NAT IP address. Therefore the destination IP address in the ACL "106" should be the public IP address that is visible to the Internet and not the LAN IP address 10.0.0.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 23:13:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191325#M351313</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-21T23:13:39Z</dc:date>
    </item>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191326#M351314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I will be able to try that on Monday morning.&amp;nbsp; Hopefully that will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help, and I will report back with the results then...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Apr 2013 23:21:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191326#M351314</guid>
      <dc:creator>tim.meyer</dc:creator>
      <dc:date>2013-04-21T23:21:40Z</dc:date>
    </item>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191327#M351315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; That worked!&amp;nbsp; I appreciate the explanation as well.&amp;nbsp; Will never make that mistake again....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 14:44:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191327#M351315</guid>
      <dc:creator>tim.meyer</dc:creator>
      <dc:date>2013-04-22T14:44:15Z</dc:date>
    </item>
    <item>
      <title>ACL - What am I doing wrong?</title>
      <link>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191328#M351316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you got it working &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Apr 2013 14:46:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/acl-what-am-i-doing-wrong/m-p/2191328#M351316</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-04-22T14:46:38Z</dc:date>
    </item>
  </channel>
</rss>

