updated param entry in entrypoint
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user