{{define "firewall.html"}}
{{template "base" .}}
{{end}}
{{define "content"}}
{{if .Error}}
{{.Error}}
{{end}}
| Firewall |
{{.EnabledText}}
|
{{if .DefaultZone}}
| Default Zone | {{.DefaultZone}} |
{{end}}
| Lockdown Mode |
{{if .Lockdown}}Active{{else}}Inactive{{end}} |
| Log Denied Traffic | {{.Logging}} |
{{if .Matrix}}
| → |
{{range .ZoneNames}}{{.}} | {{end}}
{{range .Matrix}}
| {{.Zone}} |
{{range .Cells}}{{.Symbol}} | {{end}}
{{end}}
Allow
Deny
{{end}}
{{if .Zones}}
| Name |
Action |
Interfaces |
Networks |
Services |
{{range .Zones}}
| {{.Name}} |
{{.Action}} |
{{.Interfaces}} |
{{.Networks}} |
{{.Services}} |
{{end}}
{{end}}
{{if .Policies}}
| Name |
Priority |
Action |
Ingress |
Egress |
Services |
{{range .Policies}}
| {{.Name}} |
{{.Priority}} |
{{.Action}} |
{{.Ingress}} |
{{.Egress}} |
{{.Services}}{{if .Masquerade}} masq{{end}} |
{{end}}
{{end}}
{{end}}