This commit is contained in:
gunix 2020-11-02 01:47:31 +02:00
parent d85aaf34df
commit 88b44a4b76

View File

@ -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')" \