Skip to content

Instantly share code, notes, and snippets.

@joshkitt
Last active March 27, 2020 17:17
Show Gist options
  • Save joshkitt/4f183cb6d655c1bf5305f876144eae08 to your computer and use it in GitHub Desktop.
Save joshkitt/4f183cb6d655c1bf5305f876144eae08 to your computer and use it in GitHub Desktop.
AWS VPC NACL firewall rules

Inbound

Rule # Type Protocol Port Range Destination Allow / Deny
100 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
110 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
120 SSH (22) TCP (6) 22 < IP > ALLOW
130 Custom TCP Rule TCP (6) 32768 - 65535 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY

Outbound

Rule # Type Protocol Port Range Destination Allow / Deny
100 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW
110 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW
120 Custom TCP Rule TCP (6) 32768 - 65535 0.0.0.0/0 ALLOW
* ALL Traffic ALL ALL 0.0.0.0/0 DENY

https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment