User Tools

Site Tools


сервис_stunnel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
сервис_stunnel [2014/02/20 17:30]
val создано
сервис_stunnel [2016/10/07 14:52]
val [Сервис stunnel]
Line 1: Line 1:
 ====== Сервис stunnel ====== ====== Сервис stunnel ======
  
-===== Ubuntu =====+  * [[https://​gist.github.com/​jpbalivet/​5734563|RDP SSL tunneling with stunnel]] 
 +===== Ubuntu ​Server ​=====
 <​code>​ <​code>​
 +# apt-get install stunnel4
 +
 # cat /​etc/​default/​stunnel4 # cat /​etc/​default/​stunnel4
 +</​code><​code>​
 ... ...
 ENABLED=1 ENABLED=1
 ... ...
 +</​code>​
  
-# cat privkey.pem cacert.pem >> /​etc/​stunnel/​stunnel.pem+  * [[Пакет OpenSSL#​Создание самоподписанного сертификата]] 
 + 
 +<​code>​ 
 +# cat proxy.key proxy.crt > /​etc/​stunnel/​proxy.keycrt
  
 # cat /​etc/​stunnel/​stunnel.conf # cat /​etc/​stunnel/​stunnel.conf
-cert = /​etc/​stunnel/​stunnel.pem+</​code><​code>​ 
 +cert = /​etc/​stunnel/​proxy.keycrt
 chroot = /​var/​lib/​stunnel4/​ chroot = /​var/​lib/​stunnel4/​
 setuid = stunnel4 setuid = stunnel4
Line 20: Line 29:
 accept = 8080 accept = 8080
 connect = 127.0.0.1:​3128 connect = 127.0.0.1:​3128
 +</​code>​
 +
 +===== Windows Client =====
 +<​code>​
 +[proxy]
 +client = yes
 +accept = 127.0.0.1:​3128
 +connect = proxy.corpX.un:​8080
 </​code>​ </​code>​
сервис_stunnel.txt · Last modified: 2022/02/16 10:33 by val