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
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "
|
echo -n "
|
||||||
This script got started with PIA_PF=true.
|
This script got started with PIA_PF=true. We will allow WireGuard to fully
|
||||||
Starting procedure to enable port forwarding by running the following command:
|
initialize and after that we will try to enable PF by running the following
|
||||||
|
command:
|
||||||
$ PIA_TOKEN=$PIA_TOKEN \\
|
$ PIA_TOKEN=$PIA_TOKEN \\
|
||||||
PF_GATEWAY=\"$(echo "$wireguard_json" | jq -r '.server_vip')\" \\
|
PF_GATEWAY=\"$(echo "$wireguard_json" | jq -r '.server_vip')\" \\
|
||||||
PF_HOSTNAME=\"$WG_HOSTNAME\" \\
|
PF_HOSTNAME=\"$WG_HOSTNAME\" \\
|
||||||
./port_forwarding.sh
|
./port_forwarding.sh
|
||||||
"
|
|
||||||
|
Starting PF in "
|
||||||
|
for i in {5..1}; do
|
||||||
|
echo -n "$i... "
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
|
||||||
PIA_TOKEN=$PIA_TOKEN \
|
PIA_TOKEN=$PIA_TOKEN \
|
||||||
PF_GATEWAY="$(echo "$wireguard_json" | jq -r '.server_vip')" \
|
PF_GATEWAY="$(echo "$wireguard_json" | jq -r '.server_vip')" \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user