安装proxy.py的依赖库 pip install proxy.py
执行
proxy –hostname 0.0.0.0 –port 54331 即可,在需要代理访问的服务器上配置:
export http_proxy=http://x.x.x.x:54331 export https_proxy=http://x.x.x.x:54331