mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
feat: allow to customise WireGuard listen port with --wg-port for machine init/add (#366)
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
const (
|
||||
WireGuardInterfaceName = "uncloud"
|
||||
WireGuardPort = 51820
|
||||
DefaultWireGuardPort = 51820
|
||||
// WireGuardKeepaliveInterval is sensible interval that works with a wide variety of firewalls.
|
||||
WireGuardKeepaliveInterval = 25 * time.Second
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user