Update VPN config
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
while true
|
||||
do
|
||||
openfortivpn -c vpn.conf
|
||||
openfortivpn ${VPN_HOST} -u ${VPN_USERNAME} -p ${VPN_PASSWORD} --trusted-cert=${VPN_CERT}
|
||||
sleep 1s
|
||||
done &
|
||||
|
||||
@ -10,6 +10,6 @@ sleep 3s
|
||||
|
||||
while true
|
||||
do
|
||||
socat TCP-LISTEN:22,fork TCP:192.168.80.240:22
|
||||
socat TCP-LISTEN:22,fork TCP:${SSH_HOST}
|
||||
sleep 1s
|
||||
done
|
Reference in New Issue
Block a user