Skip to content

Commit 451decb

Browse files
authored
Add ngrok support
1 parent 7264076 commit 451decb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

start.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
./etc/openvpn/ngrok authtoken $AUTHTOKEN
3+
./etc/openvpn/ngrok tcp 1194 > /dev/null &
4+
sleep 3
5+
export NGROK_URL="$(curl http://localhost:4040/api/tunnels | jq ".tunnels[0].public_url")"
6+
echo --------------------
7+
echo $NGROK_URL
8+
echo --------------------
9+
ovpn_run

0 commit comments

Comments
 (0)