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 11:05:04 +08:00

15 lines
170 B
Bash

#!/bin/bash
while true
do
openfortivpn -c vpn.conf
sleep 1s
done &
sleep 3s
while true
do
socat TCP-LISTEN:22,fork TCP:192.168.80.240:22
sleep 1s
done