#!/bin/bash while true do openfortivpn ${VPN_HOST} -u ${VPN_USERNAME} -p ${VPN_PASSWORD} --trusted-cert=${VPN_CERT} sleep 1s done & sleep 3s while true do socat TCP-LISTEN:22,fork TCP:${SSH_HOST} sleep 1s done