vpn: 'with pre-shared key' flag
This commit is contained in:
@ -114,10 +114,11 @@ type VPNDef struct {
|
||||
}
|
||||
|
||||
type VPNPeer struct {
|
||||
PublicKey string `yaml:"public_key"`
|
||||
Endpoint *net.UDPAddr
|
||||
KeepAlive time.Duration `yaml:"keepalive"`
|
||||
AllowedIPs []string `yaml:"allowed_ips"`
|
||||
PublicKey string `yaml:"public_key"`
|
||||
WithPreSharedKey bool `yaml:"with_preshared_key"`
|
||||
Endpoint *net.UDPAddr
|
||||
KeepAlive time.Duration `yaml:"keepalive"`
|
||||
AllowedIPs []string `yaml:"allowed_ips"`
|
||||
}
|
||||
|
||||
type GroupDef struct {
|
||||
|
Reference in New Issue
Block a user