Prezentace se nahrává, počkejte prosím

Prezentace se nahrává, počkejte prosím

© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5.

Podobné prezentace


Prezentace na téma: "© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5."— Transkript prezentace:

1 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5

2 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 2 Objectives  How ACLs are used  Configure standard ACLs  Configure extended ACLs  Complex ACLs  Implement, verify and troubleshoot ACLs

3 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 3 Extended Access List (ACL) for the Cisco CCNA – Part 1 https://www.youtube.com/watch?v=FIVJUx1k3xA

4 What are ACLs? ACLs are lists of conditions used to test network traffic that tries to travel across a router interface. These lists tell the router what types of packets to accept or deny. ACL jsou seznamy podmínek, kterými se testují pakety, které se pokoušejí projít přes router. Říkají routeru, které pakety mají být povoleny a které zakázány.

5 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 5 How ACLs are Used  Steps in a TCP conversation Při práci s ACL se nám bude hodit představa o tom, jak funguje TCP.

6 How ACLs Work Zkouší se, zda jednotlivé podmínky (= řádky) seznamu pasují na paket. Po první splněné podmínce se další řádky už nezkoumají a rozhodne se, zda paket propustit nebo zahodit. Na konci je neviditelné „Zahodit všechno, co prošlo až sem“.

7 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 7  Types and formats of ACLs How ACLs are Used Standardní filtrují jen podle zdrojové adresy. To je jejich velká slabina. Rozšířené umějí filtrovat podle mnoha dalších věcí. Jsou mnohem šikovnější.

8 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 8  Numbering and Naming ACLs How ACLs are Used StandardníRozšířenéPojmenované značení1 – 99100 - 199JMENO

9 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 9  Where ACLs should be placed in a network How ACLs are Used Standardní umístíme až na konec trasy, těsně ke vstupu příjemce. Rozšířené umístíme hned na začátek trasy, těsně k výstupu ze zdroje.

10 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 10  Creating ACLs How ACLs are Used Založte přístupové listy na bezpečnostní politice vaší firmy. Připravte si popis, co mají listy dělat. Na vytvoření, editaci a ukládání listů použijte textový editor. Vyzkoušejte listy na zkušební síti, než je nasadíte naostro.

11 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 11 Configure Standard ACLs  How to configure a standard ACL

12 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 12 Configure Standard ACLs  How to configure a standard ACL 255

13 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 13 Configure Standard ACLs  Wildcard masks Všechna místa v adrese jsou mi lhostejná. Projde tedy kdokoliv = any. Na všech místech v adrese mi záleží. Projde tedy jen jediný = host.

14 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 14 Configure Standard ACLs  How to apply a standard ACL to an interface Vytvořit řádky, které budou patřit do listu číslo 1. Toto je jeden z nich: Určit, na který interface to přijde...... a přilepit to na něj.

15 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 15 Configure Standard ACLs  How to apply a standard ACL to an interface Povolí, aby z rozhraní S0/0/0 odcházely jen pakety ze sítě 192.168.10.0

16 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 16 Configure Standard ACLs  Editing numbered ACLs Do listu lze jen přidávat, a to jen na konec. Chceme-li něco změnit, musíme list zrušit a napsat ho znovu. Dělat to pomocí primitivního editoru v routeru by bylo na mašli. Proto je lépe využít jiný editor. Uděláme to takto:

17 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 17 Configure Standard ACLs  Editing numbered ACLs Zobrazit list příkazem „show“. Zvýraznit řádky, které chceme změnit, vzít je do schránky. Vsadit řádky ze schránky do textového editoru, tam je změnit. Vzít je do schránky. Vymazat původní list příkazem „no access-list“. Ze schránky zkopírovat upravené řádky do routeru.

18 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 18 Configure Standard ACLs  Named ACL

19 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 19 Configure Standard ACLs  Editing named ACLs V pojmenovaném listu můžeme řádky očíslovat,...... a pak mezi ně vsunout nový řádek. pojmenovaný

20 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 20 Configure Extended ACLs  How to configure extended ACLs

21 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 21 Configure Extended ACLs  How to configure extended ACLs

22 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 22 Configure Extended ACLs  How to apply an extended ACL to an interface

23 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 23 Configure Extended ACLs  How to create named extended ACLs

24 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 24 Complex ACLs  Three types of complex ACLs Uživatelé jsou blokováni, dokud se nepřipojí pomocí Telnetu. Při tom prokáží znalost hesla a jsou povoleni. Příchozí provoz je povolen jen pokud je reakcí na žádost z routeru. Přístup je řízen podle času nebo dne v týdnu.

25 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 25 Complex ACLs  How and when to use dynamic ACLs

26 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 26 Complex ACLs  How and when to use reflexive ACLs Provoz zvenku, reagující na naši žádost – OK, povoleno. Provoz zvenku, který jsme si nevyžádali – zakázáno.

27 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 27 Complex ACLs  How and when to use time-based ACLs Můžeme např. zakázat nedůležitý provoz v době špičky.

28 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 28 Complex ACLs  Troubleshooting ACL problems Tady jsme nejdřív všechno zakázali,...... a tady se snažíme ještě něco povolit, ale to už je pozdě.

29 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 29 Complex ACLs  Troubleshooting ACL problems Tady jsme povolili TCP, ale TFTP používá UDP. ip

30 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 30 Summary  An Access List (ACL) is: A series of permit and deny statements that are used to filter traffic  Standard ACLs – Identified by numbers 1 - 99 and 1300 - 1999 – Filter traffic based on source IP address  Extended ACLs – Identified by number 100 -199 & 2000 - 2699 – Filter traffic based on Source IP address Destination IP address Protocol Port number

31 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 31 Summary  Named ACL – Used with IOS 11.2 and above – Can be used for either standard or extended ACL  ACL’s use Wildcard Masks (WCM) – The inverse of a subnet mask – 0  check the bit – 1  ignore the bit

32 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 32 Summary  Implementing ACLs – 1 st create the ACL – 2 nd place the ACL on an interface Standard ACLs are placed nearest the destination Extended ACLs are placed nearest the source  Verifying & troubleshooting ACLs – Show access-list – Show interfaces – Show run

33 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 33 Summary  Complex ACLs – Dynamic ACLs – Reflexive ACLs – Time based ACLs

34 © 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 34


Stáhnout ppt "© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Access Control Lists Accessing the WAN – Chapter 5."

Podobné prezentace


Reklamy Google