Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IPTablesPath = "iptables"
Functions ¶
func CheckIPTables ¶
func CheckIPTables() error
func ConfigureRedirect ¶
Configure one port redirect from `source` to `target` using iptables. Returns an error and a function which undoes the change to the firewall.
Types ¶
Click to show internal directories.
Click to hide internal directories.