User Tools

Site Tools


сервис_stunnel

Сервис stunnel

Debian/Ubuntu Server

# apt install stunnel4

# systemctl enable stunnel4.service
# cat proxy.key proxy.crt > /etc/stunnel/proxy.keycrt

# cat /etc/stunnel/stunnel.conf
cert = /etc/stunnel/proxy.keycrt
chroot = /var/lib/stunnel4/
setuid = stunnel4
setgid = stunnel4
pid = /stunnel4.pid

[squid]
accept = 8080
connect = 127.0.0.1:3128

Client (Windows/Linux)

debian:~# cat /etc/stunnel/stunnel.conf

admin notepad++ Open    C:\Program Files (x86)\stunnel\stunnel.conf
[proxy]
client = yes
accept = 127.0.0.1:3128
connect = proxy.corpX.un:8080
сервис_stunnel.txt · Last modified: 2021/10/08 19:22 by val