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麻省理工學院