{{define "firewall.html"}} {{template "base" .}} {{end}} {{define "content"}} {{if .Error}}
| Firewall | {{.EnabledText}} |
|---|---|
| Default Zone | {{.DefaultZone}} |
| Lockdown Mode | {{if .Lockdown}}Active{{else}}Inactive{{end}} |
| Log Denied Traffic | {{.Logging}} |
| → | {{range .ZoneNames}}{{.}} | {{end}}
|---|---|
| {{.Zone}} | {{range .Cells}}{{.Symbol}} | {{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}} |
| 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}}
|
| ⚷ | Name | Action | Ingress | Egress | Services |
|---|---|---|---|---|---|
| {{if .Immutable}}⚷{{end}} | {{.Name}} | {{.Action}} | {{.Ingress}} | {{.Egress}} | {{if .Services}}{{.Services}} {{end}}{{if .Masquerade}}masq{{end}} |