ACL - Access Control List
ACL - Access Control List
- access list work on network ( l3) and the transport (l4) layer (layer and can be
used for two different things )
1.filtering 2.classification
1.filtering :- its used to permit or deny traffic reaching curtain part of our
network
without filtering traffic can go anywhere
2.classification :- classification does not droop packets does like filtering but
be use it to select traffic
in the picture above we have a vpn that encrypted between to routers . when we
create a vpn we can use and access list to select what traffic should be
encrypted . perp i want traffic from network 10.1.1.0/24 to be encrypted but
traffic from 20.1.1.0/24 not . we can use access list to select traffic this is
called classification
inbound
inbound ............> (router)
ip packets
outbound (router)
- access list are processed top to down so we must check if the packet change
statement 10
- if doesn't match statement 10 we will check in if it match as statement 20
- if as doesnt match statement 20 we will check if it is match as statement 30
- if is doesn't match statement 30 , the packet will be droop
*if a packet does match a certain statement then is a immediate action . the packet
will a either be permited (forword) or deny (discard).
for example if we have a packet that matches statement 10 then the router will not
check if it also match as statement 20
if you don t like numbers you can also use named access list by choosing a name .
this work for both standard and extended access list
* NOTE - named access list is easy to use because we can edit statement and there
sequence number in named access list in while numbered acl we can not edit
statements
- now according to our requirement we will make a acl in that we will use some
settlements that fulfil our conditions and we will applied that acl in interface
fa0/0 for outbound
* to fulfil our first requirement we can make a easy statement for example - access
list 100 deny any any
if we dont want to easy statement , we have to make 4 specific statement