network

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllowPort

func AllowPort(port int, proto string) error

AllowPort opens a port using the first available firewall tool.

func DisableResolvedStub

func DisableResolvedStub() error

DisableResolvedStub disables systemd-resolved's DNS stub listener on port 53 so that slipgate's DNS router can bind to it.

func RemovePort

func RemovePort(port int, proto string) error

RemovePort removes a firewall rule for a port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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