heredago's blog

December 30, 2012

PIA VPN DNS LEAK INSTRUCTIONS REDDIT private internet access utorrent

Filed under: Uncategorized — Tags: , , , , , , , — heredago @ 05:58

http://www.reddit.com/r/VPN/comments/15iixg/pia_vpnam_i_doing_it_right_a_few_quick_questions/

Second, it seems like a bug. Apparently with the prevent DNS leaks setting active it screws with your network settings. It basically just turns off DHCP and then it needs to be reactivated after you close the VPN. It’s a quick fix. (TROUBLESHOOT ACTUALLY WORKED….WTF)

 

[–]hallorad 1 point 2 days ago (2|1)

Thank you for asking and thank you for sharing this. I’ve been having exactly the same problems with their client. Troubleshoot has been a lifesaver for me as well. Like you, I’m wondering if there is an easier way or a better client we can use?

 

[–]kriegers_van 2 points 2 days ago (3|1)

You can use the OpenVPN client, not PIA’s modified version — they link it from their client support page, but you can find it here. It is not as “full featured” as the PIA client (no built-in DNS Leak protection or “internet kill switch”) but it is less invasive (for the same reasons).

The instructions for setting up the client are in the “Advanced OpenVPN SSL Usage Guides” sections of PIA’s client support area.

I’ve used both clients and neither are trouble free for my purposes. I like the kill switch so that traffic I am not constantly monitoring isn’t going out over a non-VPN-ed connection if my client drops, but I too found the fiddling with my OS’ network settings to be troublesome. In the end, I decided to install a virtualized copy of Windows and run the PIA client inside that, and run all my applications that I want channeled through the VPN inside the virtual machine. I don’t care what PIA’s client does to the settings inside my virtualized Windows, and I get all the benefits I want with the security of the link killer.

This is a short-term solution until I can move to a routed traffic setup that doesn’t require such shenanigans on the user end.

 
 
 

 

[–]kandt_- 2 points 13 hours ago* (2|0)

I have the same issue and it can be solved with a very simple batch script. Execute this

netsh interface ip set dns <your-connection-name> static 8.8.8.8
netsh interface ip add dns name=<your-connection-name> addr=8.8.4.4
ipconfig /flushdns
TIMEOUT /T -1

after you disconnect and it will reset your DNS to point to Google’s DNS service. You must run it as an admin, and it will wait for keypress to exit.

EDIT: You can also fix a DNS leak with a similar script rather than using PIA’s software if you so choose.

ipconfig /flushdns
netsh interface IPv4 set dnsserver <your-connection-name> static 0.0.0.0 both
TIMEOUT /T -1

Run before connecting. You can find <your-connection-name> by running ipconfig if you didn’t know. It’s whatever connection your IP is associated with when you’re connected without the VPN.

Advertisements

Blog at WordPress.com.