HomePage » Network » NetworkStunnel


Create a certificate in PEM format
cd /usr/share/ssl/certs
make stunnel-svnserve.pem


Server side config: /etc/stunnel/stunnel.conf
cert = /etc/stunnel/stunnel-svnserve.pem
[svnserves]
		accept = 1.2.3.4:13690
		connect = 127.0.0.1:3690



Client side config: /etc/stunnel/stunnel.conf
client = yes
[svnserve]
		accept = 3690
		connect = 64.106.247.195:13690



Stunnel init script
#!/bin/bash
case $1 in

start)
		/usr/sbin/stunnel
;;

stop)
		pkill stunnel
;;

esac

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki