参考网址:[url]http://www.ibm.com/developerworks/cn/security/s-stun/index.html#3[/url]
Stunnel.conf文件配置比较简单,下面我们介绍一些常见应用配置,其中Client端是放在本机,IP是127.0.0.1,Server端是放在外网的服务器上,IP是202.151.90.28。
1.加密邮件传输:
加密邮件,需要将发送和接收的过程都要进行保护,那么我们就要对POP3和SMTP传送方式进行加密。如果我们有一个
xxx@colasoft.com.cn信箱,服务器的IP是202.108.44.153,配置文件stunnel.conf如下:
Client端SMTP和POP3文件内容
Server端SMTP和POP3文件内容
[smtp.colasoft.com.cn]
accept = 127.0.0.1:25
connect = 202.151.90.28:125
[pop3.colasoft.com.cn]
accept = 127.0.0.1:110
connect = 202.151.90.28:1110
&n..