firewall

package
v0.24.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TestIPv4    = "1.1.1.1"
	TestIPv6    = "2606:4700:4700::1111"
	IPv4Network = "0.0.0.0/0"
	IPv6Network = "::/0"
)

Variables

This section is empty.

Functions

func DeleteEgressGwRoutes

func DeleteEgressGwRoutes(server string)

DeleteEgressGwRoutes - deletes egress routes for the gateway

func Init

func Init() (func(), error)

Init - initialises the firewall controller,return a close func to flush all rules

func SetEgressRoutes

func SetEgressRoutes(server string, egressUpdate map[string]models.EgressInfo) error

SetEgressRoutes - sets the egress route for the gateway

Types

This section is empty.

Jump to

Keyboard shortcuts

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