pires / go-proxyproto

A Go library implementation of the PROXY protocol, versions 1 and 2.
Apache License 2.0
478 stars 107 forks source link

I cannot implement TCP based on the domain name #105

Open gujiwork opened 8 months ago

gujiwork commented 8 months ago

I want to proxy to port 172.16.200.10 21 through the domain name ftp11.com port 21, and proxy to port 172.16.200.20 21 through the domain name ftp122com port 21. Since TCP does not carry the domain name identifier during the transmission process, I cannot implement TCP based on the domain name. Forward