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
2018-11-01 01:34:32 +08:00

11 lines
158 B
Bash

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