atproxy
socks5 proxy server with auto upstream selection
installation
go install github.com/reusee/atproxy/atproxy@master
select process
- for each client connection, open connections to all upstream servers
- also open a direct connection to the target address
- send client data to all opened connections
- wait for the first connection that has inbound data, which is usually the optimal one
- continue exchanging data with the selected connection
- close other non-optimal connections