ACL

LAB:
Configure a ACL which satisfies the below conditions.
1)PC-1 should not have access to FTP server.
2)PC-3 should not have access to webserver.

Configuration on R3

interface E0
ip address 172.16.10.4 255.255.255.0
ip access-group 101 in

access-list 101 deny tcp host 172.16.10.1 172.16.4.0 0.0.0.255 eq ftp
access-list 101 deny tcp host 172.16.10.3 host 172.16.4.102 eq www
access-list 101 permit ip any any

The first statement in the ACL will deny PC-1 access to FTP server and the second statement will deny PC-3 access to webserver. The third statement will allow all the access to other PC’s.