vpn: 'with pre-shared key' flag
This commit is contained in:
parent
b11c53b36a
commit
40403eca85
@ -115,6 +115,7 @@ type VPNDef struct {
|
|||||||
|
|
||||||
type VPNPeer struct {
|
type VPNPeer struct {
|
||||||
PublicKey string `yaml:"public_key"`
|
PublicKey string `yaml:"public_key"`
|
||||||
|
WithPreSharedKey bool `yaml:"with_preshared_key"`
|
||||||
Endpoint *net.UDPAddr
|
Endpoint *net.UDPAddr
|
||||||
KeepAlive time.Duration `yaml:"keepalive"`
|
KeepAlive time.Duration `yaml:"keepalive"`
|
||||||
AllowedIPs []string `yaml:"allowed_ips"`
|
AllowedIPs []string `yaml:"allowed_ips"`
|
||||||
|
Loading…
Reference in New Issue
Block a user