Server
#apt-get install stunnel4
#openssl genrsa 1024 > stunnel.key
#openssl req -new -key stunnel.key -x509 -days 1000 -out stunnel.crt
#cat stunnel.crt stunnel.key > stunnel.pem
#mv stunnel.pem /etc/stunnel/.
#cat /etc/stunnel/stunnel.conf
#cat /etc/default/stunnel4 | grep ENABLED
#service stunnel4 start
Client
#apt-get install stunnel4
#cat /etc/stunnel/stunnel.conf
#cat /etc/default/stunnel4 | grep ENABLED
#service stunnel4 start
#ssh -p 22443 localhost
No comments:
Post a Comment