Записи с меткой ‘Stunnel’

Установка и настройка Stunnel на FreeBSD 9

1.Установка Stunnel cd /usr/ports/security/stunnel make install В  /etc/rc.conf добавляем stunnel_enable=»YES» stunnel_pidfile=»/var/tmp/stunnel/stunnel.pid» 2.Настройка Stunnel cp /usr/local/etc/stunnel/stunnel.conf-sample /usr/local/etc/stunnel/stunnel.conf mkdir /var/tmp/stunnel chown -R stunnel:stunnel /var/tmp/stunnel/ chmod -R 700 /var/tmp/stunnel/ Генерируем самлплдрисной сертификат cd /usr/local/etc/stunnel/ openssl req -new -x509 -days 3650 -nodes -out stunnel.cert -keyout stunnel.key Country Name (2 letter code) [AU]:UA State or Province Name (full name) [Some-State]:Kharkov […]

Установка и настройка Stunnel на Centos 5

Установка и настройка Stunnel на Centos 5 1. Установка stunnel yum install stunnel 2. Настройка Stunnel nano /etc/stunnel/stunnel.conf chroot = /var/run/stunnel setuid = nobody setgid = nobody pid = /stunnel.pid debug = 4 output = /stunnel.log cert = /etc/stunnel/stunnel.pem key = /etc/stunnel/stunnel.pem [https] accept  = 443 connect = 80 mkdir /var/run/stunnel chown -R nobody:nobody /var/run/stunnel/ […]


Thanx: Lupavto
Яндекс.Метрика