Commit 9c461c64 authored by rui.zheng's avatar rui.zheng

change sshc to socks5

parent 75537eb8
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment