Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ChainFilterName is the name of the chain that is used for filtering by the Netbird client
ChainFilterName = "NETBIRD-ACL"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager of iptables firewall
func (*Manager) AddFiltering ¶
func (m *Manager) AddFiltering( ip net.IP, port *fw.Port, direction fw.Direction, action fw.Action, comment string, ) (fw.Rule, error)
AddFiltering rule to the firewall
func (*Manager) DeleteRule ¶
DeleteRule from the firewall by rule definition
Click to show internal directories.
Click to hide internal directories.