Downgrade mit stunnel: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 2: Zeile 2:
 
*apt install stunnel
 
*apt install stunnel
 
=Vorbereitung=
 
=Vorbereitung=
*FQDN="www.xinux.de"
 
 
*cd /etc/stunnel
 
*cd /etc/stunnel
 +
 
=Konfiguration=
 
=Konfiguration=
*cat<<HERE >stunnel.conf
+
*vi imap.conf
 
<pre>
 
<pre>
 
debug = 7
 
debug = 7
 +
foreground = yes
 
options = NO_SSLv2
 
options = NO_SSLv2
 
output = /var/log/stunnel.log
 
output = /var/log/stunnel.log
Zeile 13: Zeile 14:
 
[to-server]
 
[to-server]
 
client = yes
 
client = yes
accept = 0.0.0.0:80
+
accept = 0.0.0.0:143
connect = $FQDN:443
+
connect = mail.xinmen.de:993
 
CAPath = /etc/ssl/certs/
 
CAPath = /etc/ssl/certs/
 
verify = 2
 
verify = 2
unnel/ca.crt
 
 
</pre>
 
</pre>
*HERE
+
 
 
=Restart=
 
=Restart=
* systemctl restart  stunnel4.service
+
* systemctl restart  stunnel@imap.service

Aktuelle Version vom 24. Juni 2026, 06:43 Uhr

Installation

  • apt install stunnel

Vorbereitung

  • cd /etc/stunnel

Konfiguration

  • vi imap.conf
debug = 7
foreground = yes
options = NO_SSLv2
output = /var/log/stunnel.log

[to-server]
client = yes
accept = 0.0.0.0:143
connect = mail.xinmen.de:993
CAPath = /etc/ssl/certs/
verify = 2

Restart

  • systemctl restart stunnel@imap.service