From 8956f8fd19b39a70526b8776ee70478bb1796af8 Mon Sep 17 00:00:00 2001 From: Luxferre Date: Sun, 26 Jul 2026 10:05:57 +0300 Subject: [PATCH] updated param entry in entrypoint --- Makefile | 2 +- server/entrypoint.sh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6e1fa83..9acb34f 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ ovpn: @docker cp gsocket-vpn:/vpn/client.ovpn . && echo 'client.ovpn saved!' start: - @cd client && sh gs-warp-simple.sh + @sh client/gs-warp-simple.sh stop: @sudo kill `cat /tmp/gswarp-ov.pid` `cat /tmp/gswarp-gs.pid` && sudo rm -f /tmp/gswarp-*.pid diff --git a/server/entrypoint.sh b/server/entrypoint.sh index 558bfaa..5a5fd6c 100644 --- a/server/entrypoint.sh +++ b/server/entrypoint.sh @@ -148,6 +148,5 @@ openvpn --config /vpn/server.conf \ sleep 2 # 4. Forward GSocket stream directly to 127.0.0.1:1194 -GS_SECRET="$(md5sum /vpn/client.ovpn | cut -d ' ' -f 1)" echo "[+] Starting gs-netcat port forwarder..." -exec gs-netcat -s "$GS_SECRET" -l -d 127.0.0.1 -p 1194 +exec gs-netcat -l -d 127.0.0.1 -p 1194 -s $(md5sum /vpn/client.ovpn | cut -d ' ' -f 1)