I have been using PIA as a VPN provider for some time now and have no complaints about the access speed. Setting up the PIA client on Windows was a breeze. Configuring OpenVPN to connect to PIA in my Ubuntu box was easy.
Few months ago, I switched over to a Macbook Pro. I downloaded the Mac OS X VPN client from the Client Support area of the PIA website and installed it successfully. But, when attempting to connect to one of their US VPN Tunnel Gateway, the connection did not go through and seamed frozen in the ‘connecting’ phase.
Few weeks zipped by the time I came across a solution listed at the PIA Discussion Forum.
The PIA blog post by
dvh listed three alternatives to fix the problem:
- Configuring PIA client to use TCP on behalf of UDP.
- Disabling the OS firewall.
- Whitelist PIA executable in the Firewall settings.
I do not prefer using a TCP connection with the VPN tunnel as the three way handshake would slow down my connectivity.
It did not make sense lowering system security so as to connect to the VPN tunnel. Therefore, disabling OS firewall was not an acceptable choice.
The last option of adding PIA OpenVPN executable to the whitelisted applications in the Firewall settings made sense. I could implement the fix by following the below steps:
System Preferences (Cmd+Space and Type: System Preferences)
Security and Privacyfollowed by
Firewallon the tab-bar.
+icon within the
Firewalldialog box to add the
PIA OpenVPNprogram to the whitelist. This executable is listed in
/private/tmpfolder and named
On completion of the above steps, the PIA Mac client was able to connect to their gateway successfully.