|Initial release||10 December 1998citation needed][|
5.69 / 4 March 2023
|License||GNU General Public License|
Stunnel is used to provide secure encrypted connections for clients or servers that do not speak TLS or SSL natively. It runs on a variety of operating systems, including most Unix-like operating systems and Windows. Stunnel relies on the OpenSSL library to implement the underlying TLS or SSL protocol.
A stunnel can be used to provide a secure SSL connection to an existing non-SSL-aware SMTP mail server. Assuming the SMTP server expects TCP connections on port 25, the stunnel would be configured to map the SSL port 465 to non-SSL port 25. A mail client connects via SSL to port 465. Network traffic from the client initially passes over SSL to the stunnel application, which transparently encrypts and decrypts traffic and forwards unsecured traffic to port 25 locally. The mail server sees a non-SSL mail client.
The stunnel process could be running on the same or a different server from the unsecured mail application; however, both machines would typically be behind a firewall on a secure internal network (so that an intruder could not make its own unsecured connection directly to port 25).
- Trojnara, Michał. "Downloads". Stunnel. Retrieved 4 March 2023.
- Trojnara, Michał. "stunnel sources". GitHub. Retrieved 12 May 2020.
- O'Donovan, Barry (October 2004). "Secure Communication with Stunnel". Linux Gazette, Issue 107.
- ""stunnel: Ports"". Archived from the original on 1 April 2019. Retrieved 24 August 2020.
- "stunnel(8) manual"