iptables

package
v0.0.0-...-11ecd60 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteRoute

func DeleteRoute(entry NATEntry) error

func Init

func Init() error

func NewRoute

func NewRoute(entry NATEntry) error

Types

type NATEntry

type NATEntry struct {
	SourceIP      string
	DestinationIP string
	ExternalPort  string
	InternalPort  string
}

Jump to

Keyboard shortcuts

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