manual-connections
manual-connections copied to clipboard
Can't port forward after setting up WireGuard
I am able to run VPN_PROTOCOL=wireguard DISABLE_IPV6=yes DIP_TOKEN=no AUTOCONNECT=true PIA_PF=false PIA_DNS=true PIA_USER=pxxxxxxx PIA_PASS=xxxxxx ./run_setup.sh
and connect to the VPN. After that though I need to port forward for my torrent client and when I run PIA_TOKEN=xxxxxx PF_GATEWAY=84.239.17.161 PF_HOSTNAME=michigan404 ./port_forwarding.sh
I get the output Getting new signature... The payload_and_signature variable does not contain an OK status.
It's failing on this bit of code I believe.
payload_and_signature="$(curl -s -m 5 \
--connect-to "$PF_HOSTNAME::$PF_GATEWAY:" \
--cacert "ca.rsa.4096.crt" \
-G --data-urlencode "token=${PIA_TOKEN}" \
"https://${PF_HOSTNAME}:19999/getSignature")"