updated param entry in entrypoint

This commit is contained in:
Luxferre
2026-07-26 10:05:57 +03:00
parent 083c5abb67
commit 8956f8fd19
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ ovpn:
@docker cp gsocket-vpn:/vpn/client.ovpn . && echo 'client.ovpn saved!' @docker cp gsocket-vpn:/vpn/client.ovpn . && echo 'client.ovpn saved!'
start: start:
@cd client && sh gs-warp-simple.sh @sh client/gs-warp-simple.sh
stop: stop:
@sudo kill `cat /tmp/gswarp-ov.pid` `cat /tmp/gswarp-gs.pid` && sudo rm -f /tmp/gswarp-*.pid @sudo kill `cat /tmp/gswarp-ov.pid` `cat /tmp/gswarp-gs.pid` && sudo rm -f /tmp/gswarp-*.pid
+1 -2
View File
@@ -148,6 +148,5 @@ openvpn --config /vpn/server.conf \
sleep 2 sleep 2
# 4. Forward GSocket stream directly to 127.0.0.1:1194 # 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..." 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)