~/netref / ACLs & Firewalls
##

ACLs & Firewalls

Access Control Lists filter packets line by line; firewalls add state and inspection at the boundary.

// zone-based firewall

Trusted LAN
Guest
FW
zone-pairs
Internet
Trusted→Internet inspect · Guest→Internet inspect · Internet→Trusted drop
ACL typeNumber rangeMatches on
Standard1–99 / 1300–1999Source IP only
Extended100–199 / 2000–2699Src + dst, protocol, ports
NamednameEither type, editable

// ACL rules

  • Implicit "deny any" at the end of every ACL
  • Order matters — first match wins
  • Apply inbound or outbound on an interface
  • Wildcard mask = inverse of the subnet mask
  • Place standard ACLs near the destination, extended near the source
// firewall types
Packet filterStateless, by IP / port
StatefulTracks connection state
NGFW+ app awareness, IPS, identity
ProxyTerminates & inspects sessions
access lists · cisco ios
! Standard (numbered) — source only
access-list 10 permit 10.0.0.0 0.0.0.255
! Extended (named) — src/dst, protocol, ports
ip access-list extended WEB
 permit tcp any host 203.0.113.5 eq 443
 deny   ip any any log
!
interface Gi0/0
 ip access-group WEB in
verify
show access-lists
show ip access-lists WEB
show ip interface Gi0/0

// modern perimeter — Zero Trust & SASE

// Zero Trust principles

  • "Never trust, always verify" — no implicit trust from network location
  • Authenticate and authorize every request (identity + device posture)
  • Micro-segmentation shrinks lateral movement
  • Least-privilege access, continuously re-evaluated
  • Assume breach — log and inspect everything
// SASE / SSE building blocks
SASESD-WAN + security delivered from the cloud edge
SSEThe security half — SWG + CASB + ZTNA
ZTNAPer-app access that replaces the flat VPN tunnel
SWGSecure Web Gateway — URL and malware filtering
CASBCloud Access Security Broker — SaaS visibility and control