{{define "firewall.html"}} {{template "base" .}} {{end}} {{define "content"}} {{if .Error}}
{{.Error}}
{{end}}
Firewall Status Configure →
{{if .DefaultZone}} {{end}}
Firewall {{.EnabledText}}
Default Zone{{.DefaultZone}}
Lockdown Mode {{if .Lockdown}}Active{{else}}Inactive{{end}}
Log Denied Traffic{{.Logging}}
{{if .Matrix}}
Zone Matrix
{{range .ZoneNames}}{{end}} {{range .Matrix}} {{range .Cells}} {{end}} {{end}}
{{.}}
{{.Zone}}{{.Symbol}}
Allow Conditional Deny
{{end}} {{if .Zones}}
Zones
{{range .Zones}} {{end}}
Name Action Interfaces Networks Address Sets Host Services
{{.Name}} {{.Action}} {{.Interfaces}} {{if .Networks}}{{.Networks}}{{else}}{{end}} {{if .AddressSets}}{{.AddressSets}}{{else}}{{end}} {{if .Services}}{{.Services}}{{else}}{{end}}
{{end}} {{if .AddressSets}}
Address Sets
{{range .AddressSets}} {{end}}
Name Family Timeout Entries
{{.Name}} {{.Family}} {{if .Timeout}}{{.Timeout}}{{else}}{{end}} {{if .Entries}} {{range $i, $e := .Entries}}{{if $i}}, {{end}}{{.Entry}}{{if .Dynamic}} dyn{{if .Expires}} {{.Expires}}{{end}}{{end}}{{end}} {{else}} (empty) {{end}}
{{end}} {{if .Policies}}
Policies
{{range .Policies}} {{end}}
Name Action Ingress Egress Services
{{if .Immutable}}{{end}} {{.Name}} {{.Action}} {{.Ingress}} {{.Egress}} {{if .Services}}{{.Services}} {{end}}{{if .Masquerade}}masq{{end}}
{{end}}
{{end}}