resock is a high performance proxy that supports SOCKS5 and Websockets which use little goroutine do many processing.
Go 1.16
Server:
go run cmd/server/Server.go
Client:
go run cmd/client/Client.go
cfg.json:
{
"Server": "0.0.0.0:443",//Server's listening IP address
"Client": "0.0.0.0:1080",//Client local listening IP address
"Protocol": "tcp",//ws,wss or tcp
"SNI": "http://mirror.centos.org/",//modify the address
"Key": "G8MIDsmLgTG+1B/k5BcsXjf7YP1/7TwpIfmp8uNfnBA="//Generated by GenCfg() in config.go
}