Documentation
¶
Overview ¶
Package wf controls the Windows Filtering Platform to change Windows firewall rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
Firewall uses the Windows Filtering Platform to implement a network firewall.
func (*Firewall) UpdatePermittedRoutes ¶
UpdatedPermittedRoutes adds rules to allow incoming and outgoing connections from the provided prefixes. It will also remove rules for routes that were previously added but have been removed.