This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
сервис_stunnel [2014/04/01 16:04] val [Ubuntu Server] |
сервис_stunnel [2022/02/16 10:33] (current) val [Debian/Ubuntu Server] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Сервис stunnel ====== | ====== Сервис stunnel ====== | ||
- | ===== Ubuntu Server ===== | + | * [[https://gist.github.com/enricmcalvo/6151178|RDP SSL tunneling with stunnel]] - надо попробовать |
+ | |||
+ | ===== Debian/Ubuntu Server ===== | ||
<code> | <code> | ||
- | # apt-get install stunnel4 | + | # apt install stunnel4 |
- | # cat /etc/default/stunnel4 | + | # systemctl enable stunnel4.service |
- | </code><code> | + | |
- | ... | + | |
- | ENABLED=1 | + | |
- | ... | + | |
</code> | </code> | ||
Line 15: | Line 13: | ||
<code> | <code> | ||
- | # cat proxy.key proxy.crt >> /etc/stunnel/proxy.keycrt | + | # cat proxy.key proxy.crt > /etc/stunnel/proxy.keycrt |
# cat /etc/stunnel/stunnel.conf | # cat /etc/stunnel/stunnel.conf | ||
</code><code> | </code><code> | ||
+ | output = /stunnel.log # need correct logrotate conf | ||
+ | |||
cert = /etc/stunnel/proxy.keycrt | cert = /etc/stunnel/proxy.keycrt | ||
chroot = /var/lib/stunnel4/ | chroot = /var/lib/stunnel4/ | ||
Line 30: | Line 30: | ||
</code> | </code> | ||
- | ===== Windows Client ===== | + | ===== Client (Windows/Linux) ===== |
+ | |||
+ | * [[https://www.stunnel.org/downloads.html]] | ||
<code> | <code> | ||
+ | debian:~# cat /etc/stunnel/stunnel.conf | ||
+ | |||
+ | admin notepad++ Open C:\Program Files (x86)\stunnel\stunnel.conf | ||
+ | </code><code> | ||
[proxy] | [proxy] | ||
client = yes | client = yes |