iptables4nattemplate

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package iptables4nattemplate provides chain element for setup iptables nat rules

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

NewClient - returns a new networkservice.NetworkServiceClient that modify IPTables rules by mechanism provided template on Request and rollbacks rules changes on Close

Types

type IPTablesManager

type IPTablesManager interface {
	Get() (string, error)
	Restore(string) error
	Apply([]string) error
}

IPTablesManager provides methods for iptables nat rules management

Jump to

Keyboard shortcuts

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