Total Pageviews

Saturday, 28 September 2019

能提供用户名/密码认证的socks代理服务器程序:socks_proxy-by-fgssfgss

登陆linux vps.
git clone https://github.com/fgssfgss/socks_proxy socks_proxy-by-fgssfgss
cd socks_proxy-by-fgssfgss
make
(会在当前目录下,生成可执行文件proxy )
root@host socks_proxy-by-fgssfgss]# ./proxy -h
USAGE: ./proxy [-h][-n PORT][-a AUTHTYPE][-u USERNAME][-p PASSWORD][-l LOGFILE]
AUTHTYPE: 0 for NOAUTH, 2 for USERPASS
By default: port is 1080, authtype is no auth, logfile is stdout
[root@host socks_proxy-by-fgssfgss]# ./proxy -n 2367 -a 2 -u abc -p 234567
[Sat Sep 28 21:45:21 2019][140099330848512] Info: Starting with authtype 2
[Sat Sep 28 21:45:21 2019][140099330848512] Info: Username is abc, password is 234567
[Sat Sep 28 21:45:21 2019][140099330848512] Info: Listening port 2367...

这个socks代理服务器程序可以用作tunnel程序的后端。

项目地址:https://github.com/fgssfgss/socks_proxy

No comments:

Post a Comment