stunnel配置

sudo apt-get install stunnel

sudo vim /etc/default/stunnel4
ENABLED=1

openssl req -new -x509 -days 36500 -nodes -out stunnel.pem -keyout stunnel.pem

sudo vim /etc/stunnel/stunnel.conf
cert = /etc/stunnel/stunnel.pem
key = /etc/stunnel/stunnel.pem

sudo /etc/init.d/stunnel4 restart

发表评论

电子邮件地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>