安装stunnel4
sudo apt-get install openssl
sudo apt-get install libssl-dev
sudo apt-get install stunnel4
然后创建配置文件
[https_proxy1]
accept = 2345
connect = 127.0.0.1:12345
cert = /etc/abcd.com/fullchain.pem
key = /etc/abcd.com/privkey.pem
[https_proxy2]
accept = 3456
connect = 127.0.0.1:12346
cert = /etc/080401.xyz/fullchain.pem
key = /etc/080401.xyz/privkey.pem
没有评论:
发表评论