, , ,

sslh - applicative protocol multiplexer

Install and configure sslh

Download

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=<fqdn of host>:443
SSH=localhost:22
SSL=localhost:443

Configure iptables to allow connections to port 443

Start / stop

service sslh start|stop