readme upd

This commit is contained in:
Luxferre
2026-07-26 09:57:21 +03:00
parent bbd4f61ddd
commit 083c5abb67
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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.`
+3
View File
@@ -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'