<?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: Few hosts from subnet in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728043#M1007349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldnt use access-lists to block traffic but instead I would use policy nat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list WEB permit ip x.x.x.x x.x.x.x any nat (inside) 1 access-list WEB&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to play with your subneting to get it right ..... I suggest you go with a 255.255.255.192 mask for your acl as it will allow .193 - .254 to be natd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2007 15:58:24 GMT</pubDate>
    <dc:creator>bbacola</dc:creator>
    <dc:date>2007-04-13T15:58:24Z</dc:date>
    <item>
      <title>Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728038#M1007344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can i permit few IP addresses from any subnet to access Internet for example. In other words if i have the following subnet 10.10.10.0/24 and i need to permit hosts at the ACL from 200 to 254 to access the internet only. &lt;/P&gt;&lt;P&gt;If yes how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abd Alqader &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 09:59:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728038#M1007344</guid>
      <dc:creator>a.hajhamad</dc:creator>
      <dc:date>2019-03-11T09:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728039#M1007345</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;If i have understood correctly yes you can. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-group network permit_hosts&lt;/P&gt;&lt;P&gt;network-object host 10.10.10.200&lt;/P&gt;&lt;P&gt;network-object host 10.10.10.201 &lt;/P&gt;&lt;P&gt;.... etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list from_inside permit ip object-group permit_hosts any &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-group from_inside in interface inside &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Couple of things to be aware of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I have said "permit ip" in the access-list but you could lock it down to particular ports.&lt;/P&gt;&lt;P&gt;2) I haven't covered NAT setup. if you need this let me know. &lt;/P&gt;&lt;P&gt;3) Any access-list has an implicit deny at the end. So if you apply the above access-list to the inside interface that will stop any other traffic being initiated from the inside to the outside. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 06:38:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728039#M1007345</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2007-04-13T06:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728040#M1007346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;I know i can do that with one entry for each IP address. But my question was to do that with one entry for the whole subnet.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;object-group network permit_hosts&lt;/P&gt;&lt;P&gt;network-object host X.X.X.200 - 254&lt;/P&gt;&lt;P&gt;Someone told me that it can be done using wildcard!&lt;/P&gt;&lt;P&gt;I need to know how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abd Alqader  &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 08:09:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728040#M1007346</guid>
      <dc:creator>a.hajhamad</dc:creator>
      <dc:date>2007-04-13T08:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728041#M1007347</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 you can use a subnet mask in your object-group definitions so i guess you could do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-group network permit_hosts&lt;/P&gt;&lt;P&gt;network-object host 10.10.10.200&lt;/P&gt;&lt;P&gt;network-object host 10.10.10.201&lt;/P&gt;&lt;P&gt;etc...&lt;/P&gt;&lt;P&gt;network-object host 10.10.10.223 &lt;/P&gt;&lt;P&gt;network-object 10.10.10.224 255.255.255.224&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It all depends on where your subnet boundaries lie. You could use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;network-object 10.10.10.192 255.255.255.192&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this would cover 10.10.10.192 - 199 also which is not what you want. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 08:22:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728041#M1007347</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2007-04-13T08:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728042#M1007348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jon,&lt;/P&gt;&lt;P&gt;I mean any subnet with specific ip addresses, in other words the fourth octet is between range 200 and 254 for example, and the first three octets any. &lt;/P&gt;&lt;P&gt;X.X.X.200 - 254.&lt;/P&gt;&lt;P&gt;10.10.10.200 - 254&lt;/P&gt;&lt;P&gt;100.1.222.200 - 254&lt;/P&gt;&lt;P&gt;172.30.2.200 - 254&lt;/P&gt;&lt;P&gt;X.X.X.200 - 254&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abd Alqader &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 10:46:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728042#M1007348</guid>
      <dc:creator>a.hajhamad</dc:creator>
      <dc:date>2007-04-13T10:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728043#M1007349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wouldnt use access-lists to block traffic but instead I would use policy nat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;access-list WEB permit ip x.x.x.x x.x.x.x any nat (inside) 1 access-list WEB&lt;/P&gt;&lt;P&gt;global (outside) 1 interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to play with your subneting to get it right ..... I suggest you go with a 255.255.255.192 mask for your acl as it will allow .193 - .254 to be natd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 15:58:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728043#M1007349</guid>
      <dc:creator>bbacola</dc:creator>
      <dc:date>2007-04-13T15:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Few hosts from subnet</title>
      <link>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728044#M1007350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, unfotunately you cannot define an arbatory range.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define using CIDR ranges as suggested elsewhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 21:44:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/few-hosts-from-subnet/m-p/728044#M1007350</guid>
      <dc:creator>mark.hodge</dc:creator>
      <dc:date>2007-04-16T21:44:44Z</dc:date>
    </item>
  </channel>
</rss>

