Skip to content

Firewall Rules

Firewall rules control inbound traffic to your VPC, allowing you to define which traffic is permitted based on protocol, source address, and destination ports.

Firewall rules support the following protocols:

  • TCP — Transmission Control Protocol, used for reliable, ordered delivery of data (e.g., HTTP, HTTPS, SSH)
  • UDP — User Datagram Protocol, used for low-latency, connectionless communication (e.g., DNS, VoIP)

Each firewall rule specifies:

  • A protocol (TCP or UDP)
  • A source address — the IP or CIDR range traffic is allowed from
  • A destination address — the IP or CIDR range within your VPC to match against
  • One or more destination ports — the ports to allow traffic on

Traffic that does not match any firewall rule is denied by default. Rules are stateless — they filter traffic based on the defined criteria without tracking connection state.