2022-07-25 11:29:46 +08:00
|
|
|
package option
|
|
|
|
|
|
|
|
type DirectInboundOptions struct {
|
|
|
|
ListenOptions
|
|
|
|
Network NetworkList `json:"network,omitempty"`
|
|
|
|
OverrideAddress string `json:"override_address,omitempty"`
|
|
|
|
OverridePort uint16 `json:"override_port,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type DirectOutboundOptions struct {
|
2022-09-03 12:55:10 +08:00
|
|
|
DialerOptions
|
2022-07-25 11:29:46 +08:00
|
|
|
OverrideAddress string `json:"override_address,omitempty"`
|
|
|
|
OverridePort uint16 `json:"override_port,omitempty"`
|
2022-08-23 21:07:35 +08:00
|
|
|
ProxyProtocol uint8 `json:"proxy_protocol,omitempty"`
|
2022-07-25 11:29:46 +08:00
|
|
|
}
|