CCNA lab 34 of 46
Extended ACLs: filtering by protocol and port
Turn a written security policy into an extended ACL at a branch: allow web and DNS to the head-office servers, ping everywhere, SSH for the admin only, block Telnet and everything else to the servers, and prove each rule from a Linux host.
Run this lab
It needs Lite: its 5 nodes are set to 5 vCPU and 4,608 MB in total. That fits the free demo too.
In your workspace: Shared, then CCNA 200-301 guided labs, then 34 - Extended ACLs - filtering by protocol and port
- Level
- Intermediate
- Time
- About 55 minutes
- Nodes need
- 5 vCPU, 4,608 MB
- Smallest plan
- Lite
The scenario
Larchmont Pharmacy's branch (R1) connects to head office (R2), where the web server (10.34.10.80) and DNS server (10.34.10.53) live. Security has issued this policy for traffic from the branch LAN (10.34.1.0/24):
- Web (HTTP, TCP 80) to the web server: allowed.
- DNS (UDP 53) to the DNS server: allowed.
- SSH to R2 (10.0.12.2) only from the admin laptop H1 (10.34.1.20).
- Ping (ICMP) to anywhere: allowed.
- Telnet to anywhere: denied and logged.
- Anything else to the HQ server network 10.34.10.0/24: denied and logged.
- Everything else: allowed.
| Device | Address |
|---|---|
| R1 | Gi0/1 10.34.1.1/24 (branch LAN), Gi0/0 10.0.12.1/30 |
| R2 | Gi0/0 10.0.12.2/30; Loopback10 10.34.10.80 (web) and 10.34.10.53 (DNS) |
| PC1 | 10.34.1.10/24 |
| H1 | 10.34.1.20/24 (you set it) |
What you’ll practise
- Write extended ACL entries with protocols, source, destination and port operators
- Place extended ACLs close to the source
- Convert a numbered ACL into a named ACL with remarks and sequence numbers
- Test permitted and denied flows with real TCP and UDP clients
- Read hit counters and logged denies
The tasks
- Prepare the test client and test before filtering
- Learn the extended syntax
- Build it as numbered ACL 110
- Rebuild it as a named ACL
- Prove every rule
- Read the counters and the log
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- R1
Gi0/0to R2Gi0/0 - R1
Gi0/1to S1Gi0/0 - S1
Gi0/1to PC1eth0 - S1
Gi0/2to H1eth0
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| R2 | Cisco IOSv | vios-adventerprisek9-m.SPA.159-3.M6 | 1 vCPU, 1,024 MB |
| S1 | Cisco IOSvL2 | viosl2-adventerprisek9-m.ssa.high_iron_20200929 | 1 vCPU, 1,024 MB |
| PC1 | VPCS host | Built in to EVE-NG | Counted as 1 vCPU, 1,024 MB |
| H1 | Alpine Linux | clbalpinebase-alpine-base-3-20-3 | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
CCNA 200-301 guided labs.Open
34 - Extended ACLs - filtering by protocol and portand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More CCNA labs
Related labs in other courses
CloudLabBox is independent of Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.