iptables

package
v0.0.0-...-b08a6ad Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WormholeAntispoofingChain = chain{filter, "WORMHOLE-ANTISPOOFING"}
	WormholeMSSChain          = chain{mangle, "WORMHOLE-MSS"}
)

Functions

This section is empty.

Types

type Config

type Config struct {
	logrus.FieldLogger

	// OverlayCIDR is the overlay network range
	OverlayCIDR string
	// PodCIDR is the local pod network range
	PodCIDR string

	// WireguardIface is the interface name for wireguard
	WireguardIface string
	// BridgeIface is the bridge interface name for the linux bridge
	BridgeIface string
	// SyncInterval is the time duration for resyncing the iptables rules on the host
	SyncInterval time.Duration
	// contains filtered or unexported fields
}

func (*Config) Run

func (c *Config) Run(ctx context.Context) error

Run will run the iptables control loop in a separate goroutine, that exits when the context is cancelled

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL