Session1e PTActA ACL
Session1e PTActA ACL
Session1e PTActA ACL
Topology Diagram
Addressing Table
Objectives
Verify connectivity among devices before firewall configuration.
Use ACLs to ensure remote access to the routers is available only from management station PC-
C.
Configure ACLs on R1 and R3 to mitigate attacks.
Verify ACL functionality.
All contents are Copyright © 1992-2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 1 of 4
CCNA Security
Introduction
Access to routers R1, R2, and R3 should only be permitted from PC-C, the management station. PC-C is also
used for connectivity testing to PC-A, a server providing DNS, SMTP, FTP, and HTTPS services.
Standard operating procedure is to apply ACLs on edge routers to mitigate common threats based on source
and/or destination IP address. In this activity, you create ACLs on edge routers R1 and R3 to achieve this goal.
You then verify ACL functionality from internal and external hosts.
The routers have been pre-configured with the following:
Enable password: ciscoenpa55
Password for console: ciscoconpa55
Username for VTY lines: SSHadmin
Password for VTY lines: ciscosshpa55
IP addressing
Static routing
Step 1. From the PC-C command prompt, ping the PC-A server.
Step 2. From the PC-C command prompt, SSH to the router R2 Lo0 interface. Exit the SSH session.
Step 3. From PC-C, open a web browser to the PC-A server (using the IP address) to display the web page. Close
the browser on PC-C.
R2(config-line)# access-class 10 in
R3(config-line)# access-class 10 in
All contents are Copyright © 1992–2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 4
CCNA Security
Step 8. Configure ACL 100 to block all specified traffic from the outside network.
You should also block traffic sourced from your own internal address space if it is not an RFC 1918 address (in
this activity, your internal address space is part of the private address space specified in RFC 1918).
Use the access-list command to create a numbered IP ACL.
R3(config)# access-list 100 deny ip 10.0.0.0 0.255.255.255 any
R3(config)# access-list 100 deny ip 172.16.0.0 0.15.255.255 any
R3(config)# access-list 100 deny ip 192.168.0.0 0.0.255.255 any
R3(config)# access-list 100 deny ip 127.0.0.0 0.255.255.255 any
R3(config)# access-list 100 deny ip 224.0.0.0 15.255.255.255 any
R3(config)# access-list 100 permit ip any any
Step 10. Confirm that the specified traffic entering interface Serial 0/0/1 is dropped.
From the PC-C command prompt, ping the PC-A server. The ICMP echo replies are blocked by the ACL since
they are sourced from the 192.168.0.0/16 address space.(phản hồi bị chặn bởi ACL vì lấy IP từ
192.168..0.0/16)
Note: In order for the PT activity to score 100 percent, the ACL needs to be grouped to the interface at the end
of the activity:
Step 12. Configure ACL 110 to permit only traffic from the inside network.
Use the access-list command to create a numbered IP ACL.
R3(config)# access-list 110 permit ip 192.168.3.0 0.0.0.255 any
All contents are Copyright © 1992–2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 4
CCNA Security
Step 14. Verify that PC-C can access the PC-A via HTTPS using the web browser.
Be sure to disable HTTP and enable HTTPS on server PC-A.
Step 15. Configure ACL 120 to specifically permit and deny the specified traffic.
Use the access-list command to create a numbered IP ACL.
R1(config)# access-list 120 permit udp any host 192.168.1.3 eq domain
R1(config)# access-list 120 permit tcp any host 192.168.1.3 eq smtp
R1(config)# access-list 120 permit tcp any host 192.168.1.3 eq ftp
R1(config)# access-list 120 deny tcp any host 192.168.1.3 eq 443
R1(config)# access-list 120 permit tcp host 192.168.3.3 host 10.1.1.1 eq 22
Step 17. Verify that PC-C cannot access PC-A via HTTPS using the web browser.
Step 18. Verify that PC-A cannot successfully ping the loopback interface on R2.
Step 19. Make any necessary changes to ACL 120 to permit and deny the specified traffic.
Use the access-list command to create a numbered IP ACL.
R1(config)# access-list 120 permit icmp any any echo-reply
R1(config)# access-list 120 permit icmp any any unreachable
R1(config)# access-list 120 deny icmp any any
R1(config)# access-list 120 permit ip any any
Step 20. Verify that PC-A can successfully ping the loopback interface on R2.
All contents are Copyright © 1992–2012 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 4