iptables

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package iptables container useful routines for manipulating iptables rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIptables

func GetIptables() *iptables.IPTables

GetIptables returns the iptables instance.

func SetupContainerNAT

func SetupContainerNAT(dev string) error

SetupContainerNAT sets up NAT rules for a container. dev is the name of the device to use for NAT.

Types

This section is empty.

Jump to

Keyboard shortcuts

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