Merge remote-tracking branch 'origin/main' into reduce-embed-wg-pool

# Conflicts:
#	proxy/internal/debug/handler.go
This commit is contained in:
Viktor Liu
2026-05-07 12:25:30 +02:00
230 changed files with 10349 additions and 2862 deletions

View File

@@ -81,6 +81,8 @@ type Options struct {
StatePath string
// DisableClientRoutes disables the client routes
DisableClientRoutes bool
// DisableIPv6 disables IPv6 overlay addressing
DisableIPv6 bool
// BlockInbound blocks all inbound connections from peers
BlockInbound bool
// WireguardPort is the port for the tunnel interface. Use 0 for a random port.
@@ -172,6 +174,7 @@ func New(opts Options) (*Client, error) {
PreSharedKey: &opts.PreSharedKey,
DisableServerRoutes: &t,
DisableClientRoutes: &opts.DisableClientRoutes,
DisableIPv6: &opts.DisableIPv6,
BlockInbound: &opts.BlockInbound,
WireguardPort: opts.WireguardPort,
MTU: opts.MTU,