This is an extremely fast, clean and easy-to-use SOCKS5 proxy server written in Go.
It is assumed that you have set GOPATH in your environment and added $GOPATH/bin
to your PATH. Then you can use the following command to automatically download, compile and install this software:
go get github.com/physacco/socks5
If all goes well, there will be a newly compiled executable file named socks5 (or socks5.exe on Windows platform) in your $GOPATH/bin
directory.
Start a SOCKS5 server:
socks5 [host]:port
To stop the server:
- just press Ctrl-C, or
- kill the process with this command:
pkill -f socks5
-
Listen on *:1080:
socks5 :1080
-
Listen on localhost:1080:
socks5 localhost:1080
-
Check if the server is working well:
curl --socks5-hostname localhost:1080 http://www.google.com/