Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(ipt iptableswrapper.IPTablesIface, nodeIP, src net.IP, multicastRange, chain, comment, rndSNAT string) error
Add NAT entries to iptables for POD egress IPv6/IPv4 traffic
func Del ¶
func Del(ipt iptableswrapper.IPTablesIface, src net.IP, chain, comment string) (err error)
Del removes rules added by snat
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.