socccks
1.0.0
我创建此仓库以学习Golang,Socks5协议和Shadowsocks(SS)。
obstacle
|
|
|
+--------------------+ | +--------------------+
| your processes | | | real destination |
+--------------------+ | +--------------------+
| | |
| | |
socks5 protocol | | |
| | |
| | |
+--------------------+ Encrypted Data pipe +--------------------+
| socccks-client | <--------------------------------------> | socccks-server |
+--------------------+ through tcp socket +--------------------+
|
----------------------------------------------------------------------------------------------------
|
your computer | remote computer
|
obstacle
Soccck是一个分开的Socks5代理。它使您可以通过Socks5插座访问障碍物后面的一些资源。 SOCCCK-CLIENT和SOCCCKS服务器之间的数据已加密(AES-256-CFB),没有功能。
go get github.com/davidqhr/socccks/cli/socccks-servergo get github.com/davidqhr/socccks/cli/socccks-client # config.example.yml
{
"address" : " 0.0.0.0 " ,
"users" : {
"david" : 8112 ,
"monika" : 8113
}
}
socccks-server -c config.example.ymlsocccks-client -s server_ip:server_port -l bindaddress:port -p pass
curl --socks5-hostname bindaddress:port https://www.google.com -v
# eg:
socccks-client -s 192.168.1.132:8113 -l localhost:1090 -p david
curl --socks5-hostname localhost:1090 https://www.google.com -v麻省理工学院