Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ForwardPolicyDrop drops packets which try to go through the forwarding chain ForwardPolicyDrop = ForwardPolicy("drop") // ForwardPolicyAccept accepts packets which try to go through the forwarding chain ForwardPolicyAccept = ForwardPolicy("accept") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ForwardPolicy ¶
type ForwardPolicy string
ForwardPolicy defines how packets in the forwarding chain are handled, can be either drop or accept. drop will be the standard for firewalls which are not managed by kubernetes resources (CWNPs)
type NftablesData ¶
type NftablesData struct {
Comment string
SNAT []snat
DNSProxyDNAT dnat
VPN bool
ForwardPolicy string
FirewallRules *firewallRules
Input input
}
NftablesData represents the information required to render nftables configuration.
Click to show internal directories.
Click to hide internal directories.