{{tag>[security ssh ssl centos6.5]}}
=====sslh - applicative protocol multiplexer=====
====Install and configure sslh====
===Download===
[[http://www.rutschle.net/tech/sslh.shtml|Download sslh sourcecode]]
===Compile===
yum install libconfig-devel
tar zxvf sslh-1.15.tar.gz
cd sslh-1.15
make
make install
cp scripts/etc.default.sslh /etc/default/sslh
cp scripts/etc.rc.d.init.d.sslh.centos /etc/rc.d/init.d/sslh
chkconfig --add sslh
===Configure===
Run httpd on localhost:443
vi /etc/default/sslh
LISTEN=:443
SSH=localhost:22
SSL=localhost:443
Configure iptables to allow connections to port 443
===Start / stop===
service sslh start|stop