{{ define "status/iptables" }} {{template "common/header" }}

Firewall Status


{{range $tblName, $tblChains := $.iptables}}

Table: {{ $tblName }}

{{range $chainName, $chainRules := $tblChains }} {{range $i, $row := $chainRules}} {{end}} {{end}}

{{ $chainName }} {{/* Chain INPUT (Policy: ACCEPT, Packets: 0, Traffic: 0.00 B)*/}}
Pkts. Traffic Target Prot Options In Out Source Destination
{{ $row.Pkts }} {{ $row.Traffic }} {{ $row.Target }} {{ $row.Prot }} {{ $row.Options }} {{ $row.In }} {{ $row.Out }} {{ $row.Source }} {{ $row.Destination }}
{{end}}
{{template "common/footer"}} {{ end }}