Courseiva

Write network ACL rules for a public web subnet

about 8 minutes

A custom network ACL on the public subnet 10.0.1.0/24 currently denies everything. Add inbound and outbound rules so internet clients can open HTTPS connections to the web server, and nothing else gets in. Network ACLs are stateless: the reply has to be allowed outbound too, to the client's ephemeral port (1024–65535).

Inbound rules

UseRule #Allow/DenyProtocolPortsSource
*DENY all traffic (default, always last)

Outbound rules

UseRule #Allow/DenyProtocolPortsDestination
*DENY all traffic (default, always last)