ThePowerTool / PIA-NetworkManager-GUI-Support

Enable connecting to PIA through the NetworkManager GUI (with support for port forwarding)
Other
7 stars 2 forks source link

no Non-US vpn NM connections created #3

Open russelld58 opened 2 years ago

russelld58 commented 2 years ago

Hi, Thanks for the script for Network Manager! It populated /etc/NetworkManager/system-connections with PIA-US vpns, however I don't live anywhere near US to use these. Can the script be modified to suit non-US domiciles? Tested in a vm Calculate Linux - Gentoo running in Qemu/KVM, before I commit to main box. Thanks in advance!

ThePowerTool commented 2 years ago

Hi russelld58,

The only limiting factor is when you choose port-forwarding--which then limits the selection of servers to those that offer port forwarding. Just FYI, my system populates with servers from around the world.

My 1st suggestion would but to delete all the "PIA*" entries in /etc/NetworkManager/system-connections directory and run pia_NM_profiles_install.sh a 2nd time. I am suggesting this because the only 2 things I can think of that might cause this issue are 1) the download of the PIA server list; and 2) a potential change in jq (as a result of having a different version). I will note that I have seen the PIA server list download appear in an incomplete manner in the past and had to wait and retry--I don't know the "why" but whatever happened seemed to resolve itself in a fairly short time (perhaps server maintenance).

if this doesn't work, please reply here with a pastebin of your entire /etc/NetworkManager/system-connections listing (using ls -l for all details) and include the full contents of one profile (remember to remove your username and password!!!).

I would very much like to see you successful with this in the hopes that you enjoy it as much as I do.

nazgum commented 1 year ago

@russelld58 I also ran into the issue of it only showing US servers, I tried with both port_forward question as true or false. I fixed it by answering No to port_forwarding and then editing the script and changing line 280 to:

jq --argjson PF_SUPP "$pia_pf" -r '.regions[] | .dns+":"+.name' )"

And then they all showed up =)

Cheers,