Hits : 2331

stunnel[link1]

/etc/stunnel/stunnel.conf

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

[postfix]
accept = 465
connect = 587


/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


Links
[link1] https://www.stunnel.org