Add option for custom wireguard reserved bytes

This commit is contained in:
世界 2022-10-26 20:21:07 +08:00
parent d583b35717
commit 35886b88d7
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 22 additions and 2 deletions

View file

@ -9,6 +9,7 @@ type WireGuardOutboundOptions struct {
PrivateKey string `json:"private_key"`
PeerPublicKey string `json:"peer_public_key"`
PreSharedKey string `json:"pre_shared_key,omitempty"`
Reserved []uint8 `json:"reserved,omitempty"`
MTU uint32 `json:"mtu,omitempty"`
Network NetworkList `json:"network,omitempty"`
}