Categorygithub.com/hmgle/socks5_go
repositorypackage
0.0.0-20200531025750-85d815c008b8
Repository: https://github.com/hmgle/socks5_go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

= SOCKS5_GO

SOCKS5_GO is a lightweight tunnel proxy which can help you get through firewalls. It is ported from https://github.com/hmgle/socks5_c[socks5_c].

== Install

  • Server

go get github.com/hmgle/socks5_go/cmd/socks5-server

  • Local

go get github.com/hmgle/socks5_go/cmd/socks5-local

== Usage

  • Server

socks5-server -crypto 'rc4' -key 'yourkey' -port ':1984'

  • Local

socks5-local -backend '127.0.0.1:1984' -crypto 'rc4' -key 'yourkey' -listen ':2080'

Just for test, you should not use Baidu for search!

curl -v --socks5-hostname 127.0.0.1:2080 http://www.baidu.com

== Docker

  • Server(only)

docker run -e KEY=yourkey CRYPTO=rc4 -p 1984:1984 -p 1984:1984/udp -d zjl233/socks5-server:0.0.5

== License

MIT