View source for stunnel

{{anchor href="top"}}
Hits :  **{{hits}}**

((https://www.stunnel.org stunnel))

**/etc/stunnel/stunnel.conf**

%%
key = /certs/example.com.key
cert = /certs/example.com.pem

[postfix]
accept = 465
connect = 587

%%

%%(bash)
/usr/bin/stunnel
%%

**iptables**

%%
# lokkit -p 465:tcp
# lokkit --update
%%


**netstat**

%%
tcp        0      0 0.0.0.0:465                 0.0.0.0:*                   LISTEN      30627/stunnel
%%