Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCustomChain ¶
AddCustomChain adds the rule to the host's nat table custom chain all tcp requests NOT originating from localhost destined to destIp:destPort are routed to targetIP:targetPort
func DeleteCustomChain ¶
func DeleteCustomChain() error
DeleteCustomChain removes the custom chain aad-metadata reference from PREROUTING chain and then removes the chain aad-metadata from nat table
func LogCustomChain ¶
func LogCustomChain() error
LogCustomChain logs added rules to the custom chain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.