diff --git a/README.md b/README.md index 161ef91..fdaf1be 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Note: the `client.ovpn` file is the sole access key to the entire tunnel. Treat ### On the client ("simple" approach, Make-based) -1. Get the `client.ovpn` file from the server and put it into the `client` directory. +1. Get the `client.ovpn` file from the server and put it into the repo root directory. 2. Run `make start` and then enter your sudo password (if necessary). 3. To stop the client, run `make stop.` diff --git a/client/gs-warp-simple.sh b/client/gs-warp-simple.sh index ea1fb18..12368b7 100755 --- a/client/gs-warp-simple.sh +++ b/client/gs-warp-simple.sh @@ -4,6 +4,9 @@ [ -z "$OVPNCFG" ] && OVPNCFG="$2" [ -z "$OVPNCFG" ] && OVPNCFG="client.ovpn" + +printf "Using config from %s...\n" "$OVPNCFG" + GS_SECRET="$(md5sum "$OVPNCFG" | cut -d ' ' -f 1)" GSPIDFILE='/tmp/gswarp-gs.pid'