package
1.0.2
Repository: https://github.com/modal-labs/vprox.git
Documentation: pkg.go.dev

# Functions

AfterCountIpBlock returns the result of incrementing an IP address by N CIDR counts.
No description provided by the author
No description provided by the author
No description provided by the author
NewAwsMetadata creates a new AWS metadata client.
NewIpAllocator creates a new IpAllocator for the given prefix.
NewServerManager creates a new server manager.

# Constants

A new peer must connect with a handshake within this time.
FwmarkBase is the base value for firewall marks used by vprox.
If no handshakes are received in this time, the peer is considered idle and removed from the server's WireGuard interface list.
RunDir is the path for runtime data that should be kept across restarts.
UDP listen port base value for WireGuard connections.

# Structs

AwsInterface contains information about a network interface.
AwsMetadata is a client for the AWS instance metadata service.
Client manages a peering connection with with a local WireGuard interface.
IpAllocator is a simple IP address allocator that produces IP addresses within a prefix, in increasing order of available IPs.
Server handles state for one WireGuard network.
No description provided by the author
ServerManager handles creating and terminating servers on ips ServerManager is not thread safe for concurrent access.