2022-08-16 23:37:51 +08:00
|
|
|
package option
|
|
|
|
|
|
|
|
type WireGuardOutboundOptions struct {
|
2022-09-03 12:55:10 +08:00
|
|
|
DialerOptions
|
2022-08-16 23:37:51 +08:00
|
|
|
ServerOptions
|
2022-09-06 00:15:09 +08:00
|
|
|
SystemInterface bool `json:"system_interface,omitempty"`
|
|
|
|
InterfaceName string `json:"interface_name,omitempty"`
|
|
|
|
LocalAddress Listable[ListenPrefix] `json:"local_address"`
|
|
|
|
PrivateKey string `json:"private_key"`
|
|
|
|
PeerPublicKey string `json:"peer_public_key"`
|
|
|
|
PreSharedKey string `json:"pre_shared_key,omitempty"`
|
2022-10-26 20:21:07 +08:00
|
|
|
Reserved []uint8 `json:"reserved,omitempty"`
|
2022-11-07 16:35:15 +08:00
|
|
|
Workers int `json:"workers,omitempty"`
|
2022-09-06 00:15:09 +08:00
|
|
|
MTU uint32 `json:"mtu,omitempty"`
|
|
|
|
Network NetworkList `json:"network,omitempty"`
|
2022-08-16 23:37:51 +08:00
|
|
|
}
|