Create SSH service reverse proxy
This commit is contained in:
11
docker-entrypoint.sh
Normal file
11
docker-entrypoint.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/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
|
Reference in New Issue
Block a user