change sshc to socks5

This commit is contained in:
rui.zheng 2017-07-28 00:11:36 +08:00
parent 75537eb855
commit 9c461c64c0

View File

@ -38,7 +38,7 @@ func main() {
)
s := &gost.Server{}
s.Handle(gost.HTTPHandler(gost.ChainHandlerOption(chain)))
s.Handle(gost.SOCKS5Handler(gost.ChainHandlerOption(chain)))
ln, err := gost.TCPListener(laddr)
if err != nil {
log.Fatal(err)