SSLH add-on not starting

Hi, just for the record, it’s an easy fix. Looks like sslh changed some of its flags…

Open the file /etc/init.d/sslh and just change the old flags from:

-p "${LOCAL_IP_ADDRESS}:443" -s localhost:222 -l localhost:444

to:

-p "${LOCAL_IP_ADDRESS}:443" --ssh=localhost:222 --tls=localhost:444

On another note, I also had to add the init script to the /etc/sysconfig/firewall.local since I noticed the service wasn’t starting at boot:

case "$1" in
  start)
        ## add your 'start' rules here
        /etc/init.d/sslh start
        ;;
  stop)
        ## add your 'stop' rules here
        /etc/init.d/sslh stop
        ;;
  reload)
        $0 stop
        $0 start
        ## add your 'reload' rules here
        /etc/init.d/sslh restart
        ;;
  *)
        echo "Usage: $0 {start|stop|reload}"
        ;;
esac

EDIT: moderator formatted code block