mirror of
https://github.com/pia-foss/manual-connections.git
synced 2025-02-05 14:08:29 +00:00
fixed #32
This commit is contained in:
parent
d85aaf34df
commit
88b44a4b76
|
@ -151,14 +151,22 @@ if [ "$PIA_PF" != true ]; then
|
|||
exit
|
||||
fi
|
||||
|
||||
echo "
|
||||
This script got started with PIA_PF=true.
|
||||
Starting procedure to enable port forwarding by running the following command:
|
||||
echo -n "
|
||||
This script got started with PIA_PF=true. We will allow WireGuard to fully
|
||||
initialize and after that we will try to enable PF by running the following
|
||||
command:
|
||||
$ PIA_TOKEN=$PIA_TOKEN \\
|
||||
PF_GATEWAY=\"$(echo "$wireguard_json" | jq -r '.server_vip')\" \\
|
||||
PF_HOSTNAME=\"$WG_HOSTNAME\" \\
|
||||
./port_forwarding.sh
|
||||
"
|
||||
|
||||
Starting PF in "
|
||||
for i in {5..1}; do
|
||||
echo -n "$i... "
|
||||
sleep 1
|
||||
done
|
||||
echo
|
||||
echo
|
||||
|
||||
PIA_TOKEN=$PIA_TOKEN \
|
||||
PF_GATEWAY="$(echo "$wireguard_json" | jq -r '.server_vip')" \
|
||||
|
|
Loading…
Reference in New Issue
Block a user