Versions in this module Expand all Collapse all v0 v0.8.1 Feb 18, 2014 v0.7.5 Jan 9, 2014 Changes in this version + var ErrIptablesNotFound = errors.New("Iptables not found") + func Exists(args ...string) bool + func Raw(args ...string) ([]byte, error) + func RemoveExistingChain(name string) error + type Action string + const Add + const Delete + type Chain struct + Bridge string + Name string + func NewChain(name, bridge string) (*Chain, error) + func (c *Chain) Forward(action Action, ip net.IP, port int, proto, dest_addr string, dest_port int) error + func (c *Chain) Output(action Action, args ...string) error + func (c *Chain) Prerouting(action Action, args ...string) error + func (c *Chain) Remove() error