<?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: ACL to allow only internet traffic on a subinterface in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417199#M567821</link>
    <description>&lt;P&gt;On a router, you typically apply ACLs on the L3-interface, that is the interface where your IP-address is configured:&lt;/P&gt;
&lt;PRE&gt;interface gig0/0.2
  ip access-group 100 in
&lt;/PRE&gt;
&lt;P&gt;And if your intention is to allow DNS, you should also add UDP/53.&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jun 2021 09:26:15 GMT</pubDate>
    <dc:creator>Karsten Iwen</dc:creator>
    <dc:date>2021-06-12T09:26:15Z</dc:date>
    <item>
      <title>ACL to allow only internet traffic on a subinterface</title>
      <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417197#M567820</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a simple topology:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sans titre.png" style="width: 386px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/122651i0FEFAC9371905874/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Sans titre.png" alt="Sans titre.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the VLAN2, I'd like to allow only internet traffic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the ACL:&lt;/P&gt;&lt;P&gt;access-list 100 permit tcp 192.168.2.0 0.0.0.255 any eq 80&lt;/P&gt;&lt;P&gt;access-list 100 permit tcp 192.168.2.0 0.0.0.255 any eq 443&lt;/P&gt;&lt;P&gt;access-list 100 permit tcp 192.168.2.0 0.0.0.255 any eq 53&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm not sur how to apply it only to the subinterface and if I missed others elements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 09:18:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417197#M567820</guid>
      <dc:creator>punasup</dc:creator>
      <dc:date>2021-06-12T09:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: ACL to allow only internet traffic on a subinterface</title>
      <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417199#M567821</link>
      <description>&lt;P&gt;On a router, you typically apply ACLs on the L3-interface, that is the interface where your IP-address is configured:&lt;/P&gt;
&lt;PRE&gt;interface gig0/0.2
  ip access-group 100 in
&lt;/PRE&gt;
&lt;P&gt;And if your intention is to allow DNS, you should also add UDP/53.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 09:26:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417199#M567821</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2021-06-12T09:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: ACL to allow only internet traffic on a subinterface</title>
      <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417207#M567822</link>
      <description>&lt;P&gt;Thank you very much, I understand. Also, should I also apply this ACL on the gig0/1 for security (so only internet traffic is allow to 'enter')? You confirme me that there is an implicit deny all clause at the end of every ACL?&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 09:52:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417207#M567822</guid>
      <dc:creator>punasup</dc:creator>
      <dc:date>2021-06-12T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: ACL to allow only internet traffic on a subinterface</title>
      <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417218#M567823</link>
      <description>&lt;P&gt;Putting an ACL on the internet-facing interface is best practice but slightly more difficult as you need to allow the return traffic. Or you configure a stateful firewall on the router. If you are on the beginning of your learning, that is probably for a later chapter.&lt;/P&gt;
&lt;P&gt;And yes, all the ACLs have an implicit "deny any".&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 10:32:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417218#M567823</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2021-06-12T10:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: ACL to allow only internet traffic on a subinterface</title>
      <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417220#M567824</link>
      <description>&lt;P&gt;Thank you. If you have any online resources on this subject I'm interested.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 10:31:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417220#M567824</guid>
      <dc:creator>punasup</dc:creator>
      <dc:date>2021-06-12T10:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: ACL to allow only internet traffic on a subinterface</title>
      <link>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417222#M567825</link>
      <description>&lt;P&gt;I would buy a CCNA study guide and go through that. That are the basics that any Cisco technician needs to have.&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 10:36:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/acl-to-allow-only-internet-traffic-on-a-subinterface/m-p/4417222#M567825</guid>
      <dc:creator>Karsten Iwen</dc:creator>
      <dc:date>2021-06-12T10:36:32Z</dc:date>
    </item>
  </channel>
</rss>

