Skip to content

rules (traffic sections)

The rules block is a list of up to three traffic sections. Each section matches packets travelling in one direction relative to the firewall VM.

SectionDirectionMatches
to-firewallinbound to the VMPackets destined to the firewall itself (SSH, health check).
through-firewallrouted acrossPackets routed across the firewall (your main rules).
from-firewalloriginated by the VMPackets originated by the firewall engine itself.

Each section has its own default_action (the fallback when no rule in that section matches).

rules:
- name: to-firewall
default_action: drop
rules:
- comment: SSH from ops bastion
src: 10.0.5.10/32
protocol: tcp
port: 22
action: accept
- name: through-firewall
default_action: drop
rules: [] # filled in below
- name: from-firewall
default_action: accept
rules: []

Next: Rule fields — the fields each rule inside a section can carry.

Enforza is a trading name of Synvu Limited, a company registered (15761962) in the United Kingdom. Registered office address: 71–75 Shelton Street, Covent Garden, London, WC2H 9JQ, United Kingdom.