跳转到内容
KN郑某某

socks5服务器pysocks

使用 pysocks 搭建 socks5 代理服务器的方法。

工具 1 分钟阅读

源码地址 https://github.com/fengyouchao/pysocks

$ git clone https://github.com/fengyouchao/pysocks.git ~/pysocks
$ python ~/pysocks/socks5.py start --auth=admin:123456

$ python ~/pysocks/socks5.py -h

帮助信息如下:

Usage: start|stop|restart|status [options]
Options:
--port=<val> Sets server port, default 1080
--log=true|false Logging on, default true
--allowed=IP set allowed IP list
--auth:<user:pwd> Use username/password authentication
Example:
Create user "admin" with password "1234":
--auth=admin:1234
Create two users:
--auth=admin:1234,root:1234
-h Show Help

评论