Add proxy protocol support

This commit is contained in:
世界 2022-08-23 21:07:35 +08:00
parent aa8cdaee22
commit 1413c5022a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
15 changed files with 260 additions and 71 deletions

View file

@ -11,4 +11,5 @@ type DirectOutboundOptions struct {
OutboundDialerOptions
OverrideAddress string `json:"override_address,omitempty"`
OverridePort uint16 `json:"override_port,omitempty"`
ProxyProtocol uint8 `json:"proxy_protocol,omitempty"`
}