2022-07-25 03:29:46 +00:00
|
|
|
package option
|
|
|
|
|
|
|
|
type TunInboundOptions struct {
|
2022-07-26 11:21:56 +00:00
|
|
|
InterfaceName string `json:"interface_name,omitempty"`
|
|
|
|
MTU uint32 `json:"mtu,omitempty"`
|
|
|
|
Inet4Address *ListenPrefix `json:"inet4_address,omitempty"`
|
|
|
|
Inet6Address *ListenPrefix `json:"inet6_address,omitempty"`
|
|
|
|
AutoRoute bool `json:"auto_route,omitempty"`
|
|
|
|
EndpointIndependentNat bool `json:"endpoint_independent_nat,omitempty"`
|
|
|
|
UDPTimeout int64 `json:"udp_timeout,omitempty"`
|
2022-08-07 09:21:49 +00:00
|
|
|
Stack string `json:"stack,omitempty"`
|
2022-07-25 03:29:46 +00:00
|
|
|
InboundOptions
|
|
|
|
}
|