Versions in this module Expand all Collapse all v0 v0.2.1 Jul 6, 2015 Changes in this version + const Append + const Delete + const Filter + const Insert + const Mangle + const Nat + var ErrIptablesNotFound = errors.New("Iptables not found") + func Exists(table Table, chain string, rule ...string) bool + func OperatePortMap(action Action, chain string, rule []string) error + func PortMapExists(chain string, rule []string) bool + func PortMapUsed(chain string, rule []string) bool + func Raw(args ...string) ([]byte, error) + type Action string + type Chain struct + Bridge string + Name string + Table Table + type ChainError struct + Chain string + Output []byte + func (e *ChainError) Error() string + type Table string