<?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: Restrict Outbound Port 25 to one IP only in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764165#M495251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everybody is in this discussion is partially correct. The final access-list which works is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;access-list 100 permit tcp host 192.168.1.13 any eq smtp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;access-list 100 deny tcp any any eq smtp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;access-list 100 permit ip any any&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then on the BVI1 interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ip access-group 100 in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Cadet Alain, your first line needed to have the any part after the IP. Otherwise nothing could sent out tcp traffic via smtp. Iazaz and Cadet, both your suggestions work fine for the third line. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks everybody for their help. Glad to have knocked this one on the head. Can breath a bit easier about the possibility of being blacklisted again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 04:55:11 GMT</pubDate>
    <dc:creator>conrad2467</dc:creator>
    <dc:date>2011-10-21T04:55:11Z</dc:date>
    <item>
      <title>Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764158#M495210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to restrict outgoing smtp traffic to our mail server only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mail server: 192.168.1.13&lt;/P&gt;&lt;P&gt;Router: Cisco 857W&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the following access-list but other pc's can still telnet to mail servers via port 25. Where have i gone wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RouterID#show access-list&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Extended IP access list 100&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10 permit tcp host 192.168.1.13 any eq smtp&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 deny tcp 192.168.1.0 0.0.0.255 any eq smtp log&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30 permit ip 192.168.1.0 0.0.0.255 any&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Extended IP access list NAT&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10 permit ip any any &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RouterID#&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 21:40:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764158#M495210</guid>
      <dc:creator>conrad2467</dc:creator>
      <dc:date>2019-03-11T21:40:14Z</dc:date>
    </item>
    <item>
      <title>Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764159#M495215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Conrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this configuration you should be able to access SMTP servers just from 192.168.1.13, if you&lt;/P&gt;&lt;P&gt; do a show access-list 100, how many hits do you see on line 2???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we see the access-group??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be waiting your answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 05:54:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764159#M495215</guid>
      <dc:creator>Julio Carvajal</dc:creator>
      <dc:date>2011-10-20T05:54:53Z</dc:date>
    </item>
    <item>
      <title>Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764160#M495219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Julio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following if i do a show access-list 100. Im not sure what you mean by "how many hits..."&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Extended IP access list 100&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10 permit tcp host 192.168.1.13 any eq smtp&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 deny tcp 192.168.1.0 0.0.0.255 any eq smtp log&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30 permit ip 192.168.1.0 0.0.0.255 any&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 06:26:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764160#M495219</guid>
      <dc:creator>conrad2467</dc:creator>
      <dc:date>2011-10-20T06:26:20Z</dc:date>
    </item>
    <item>
      <title>Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764161#M495228</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;you should do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list 100 permit tcp any host 192.168.1.13 eq smtp&lt;/P&gt;&lt;P&gt;access-list 100 deny tcp any any eq smtp&lt;/P&gt;&lt;P&gt;access-list 100 permit ip any 192.168.1.0 0.0.0.255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then apply this ACL inbound on the inside interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: sh access-list will give inparentheses the number of packets that matched this ACL, these are hits but you've got none here because your ACL is incorrect and maybe not applied in the good direction on the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 08:05:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764161#M495228</guid>
      <dc:creator>cadet alain</dc:creator>
      <dc:date>2011-10-20T08:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764162#M495237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the ACL as per your instruction. I have then applied the ACL to the BVI1 interface as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RouterID(config)#interface BVI1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RouterID(config-if)#ip access-group 100 in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The instance i apply this acl, I lose connection to internet completely. Any ideas why this could be the case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 09:17:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764162#M495237</guid>
      <dc:creator>conrad2467</dc:creator>
      <dc:date>2011-10-20T09:17:29Z</dc:date>
    </item>
    <item>
      <title>Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764163#M495245</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;yep sorry then in this case do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip access-list 100&lt;/P&gt;&lt;P&gt; no 30&lt;/P&gt;&lt;P&gt; 30 permit ip any any&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry I didn't know to what interface you were going to bind it&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 13:31:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764163#M495245</guid>
      <dc:creator>cadet alain</dc:creator>
      <dc:date>2011-10-20T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764164#M495248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of this access-list 100 permit ip any 192.168.1.0 0.0.0.255 use this &lt;/P&gt;&lt;P&gt;access-list 100 permit ip 192.168.1.0 0.0.0.255 any                                    apart from that the solution provided by the guy is ok&lt;/P&gt;&lt;P&gt;Sent from Cisco Technical Support iPhone App&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 15:36:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764164#M495248</guid>
      <dc:creator>iazazkhan</dc:creator>
      <dc:date>2011-10-20T15:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764165#M495251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Everybody is in this discussion is partially correct. The final access-list which works is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;access-list 100 permit tcp host 192.168.1.13 any eq smtp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;access-list 100 deny tcp any any eq smtp&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;access-list 100 permit ip any any&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then on the BVI1 interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ip access-group 100 in&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So Cadet Alain, your first line needed to have the any part after the IP. Otherwise nothing could sent out tcp traffic via smtp. Iazaz and Cadet, both your suggestions work fine for the third line. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks everybody for their help. Glad to have knocked this one on the head. Can breath a bit easier about the possibility of being blacklisted again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 04:55:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764165#M495251</guid>
      <dc:creator>conrad2467</dc:creator>
      <dc:date>2011-10-21T04:55:11Z</dc:date>
    </item>
    <item>
      <title>Restrict Outbound Port 25 to one IP only</title>
      <link>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764166#M495253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Conrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I want to restrict outgoing smtp traffic to our mail server only.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're right I had not well read your need, I thought it was only permitting&amp;nbsp; &lt;EM&gt;incoming smtp&lt;/EM&gt; traffic to this host BUT it was outgoing you needed so my ACL was not correct indeed&lt;/P&gt;&lt;P&gt;Happy you solved it though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 07:42:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/restrict-outbound-port-25-to-one-ip-only/m-p/1764166#M495253</guid>
      <dc:creator>cadet alain</dc:creator>
      <dc:date>2011-10-21T07:42:56Z</dc:date>
    </item>
  </channel>
</rss>

