This repository has been archived on 2019-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
gectunnel/docker-entrypoint.sh

11 lines
156 B
Bash

#!/bin/bash
openfortivpn -c vpn.conf &
sleep 3s
while true
do
ssh -o "ExitOnForwardFailure yes" -NL 22:192.168.80.240:22 localhost
sleep 1s
done