Versions in this module Expand all Collapse all v0 v0.7.0 Mar 26, 2024 v0.6.0 Feb 22, 2024 v0.5.1 Jan 28, 2024 v0.5.0 Jan 25, 2024 v0.4.0 Dec 21, 2023 v0.3.0 Nov 26, 2023 v0.2.0 Oct 27, 2023 v0.1.0 Oct 7, 2023 Changes in this version + type ACLRule struct + Action string + Destination string + DestinationPort string + Direction string + ICMPCode string + ICMPType string + Log bool + LogName string + Protocol string + Source string + SourcePort string + type AddressForward struct + ListenAddress net.IP + ListenPorts []uint64 + Protocol string + TargetAddress net.IP + TargetPorts []uint64 + type FeatureOpts struct + ForwardingAllow bool + ICMPDHCPDNSAccess bool + type Nftables struct + func (d Nftables) Compat() (bool, error) + func (d Nftables) InstanceClearBridgeFilter(projectName string, instanceName string, deviceName string, parentName string, ...) error + func (d Nftables) InstanceClearNetPrio(projectName string, instanceName string, deviceName string) error + func (d Nftables) InstanceClearProxyNAT(projectName string, instanceName string, deviceName string) error + func (d Nftables) InstanceClearRPFilter(projectName string, instanceName string, deviceName string) error + func (d Nftables) InstanceSetupBridgeFilter(projectName string, instanceName string, deviceName string, parentName string, ...) error + func (d Nftables) InstanceSetupNetPrio(projectName string, instanceName string, deviceName string, netPrio uint32) error + func (d Nftables) InstanceSetupProxyNAT(projectName string, instanceName string, deviceName string, ...) error + func (d Nftables) InstanceSetupRPFilter(projectName string, instanceName string, deviceName string, hostName string) error + func (d Nftables) NetworkApplyACLRules(networkName string, rules []ACLRule) error + func (d Nftables) NetworkApplyForwards(networkName string, rules []AddressForward) error + func (d Nftables) NetworkClear(networkName string, _ bool, _ []uint) error + func (d Nftables) NetworkSetup(networkName string, opts Opts) error + func (d Nftables) String() string + type Opts struct + ACL bool + FeaturesV4 *FeatureOpts + FeaturesV6 *FeatureOpts + SNATV4 *SNATOpts + SNATV6 *SNATOpts + type SNATOpts struct + Append bool + SNATAddress net.IP + Subnet *net.IPNet + type Xtables struct + func (d Xtables) Compat() (bool, error) + func (d Xtables) InstanceClearBridgeFilter(projectName string, instanceName string, deviceName string, parentName string, ...) error + func (d Xtables) InstanceClearNetPrio(projectName string, instanceName string, deviceName string) error + func (d Xtables) InstanceClearProxyNAT(projectName string, instanceName string, deviceName string) error + func (d Xtables) InstanceClearRPFilter(projectName string, instanceName string, deviceName string) error + func (d Xtables) InstanceSetupBridgeFilter(projectName string, instanceName string, deviceName string, parentName string, ...) error + func (d Xtables) InstanceSetupNetPrio(projectName string, instanceName string, deviceName string, netPrio uint32) error + func (d Xtables) InstanceSetupProxyNAT(projectName string, instanceName string, deviceName string, ...) error + func (d Xtables) InstanceSetupRPFilter(projectName string, instanceName string, deviceName string, hostName string) error + func (d Xtables) NetworkApplyACLRules(networkName string, rules []ACLRule) error + func (d Xtables) NetworkApplyForwards(networkName string, rules []AddressForward) error + func (d Xtables) NetworkClear(networkName string, delete bool, ipVersions []uint) error + func (d Xtables) NetworkSetup(networkName string, opts Opts) error + func (d Xtables) String() string Other modules containing this package github.com/lxc/incus/v6