pia-foss / manual-connections

Scripts for manual connections to Private Internet Access
MIT License
646 stars 168 forks source link

DNS leak with manual connection #187

Closed ordo123 closed 7 months ago

ordo123 commented 7 months ago

When using openvpn package in Debian (sudo openvpn myconfig.ovpn) I managed to get no DNS leaks with the help of update-systemd-resolved whilst also configurating the myconfig.ovpn file to contain dhcp-option DOMAIN-ROUTE . and also dhcp-option DNS 10.0.0.242 (etc).

When using the manual connection (from this repo) I am using my ISP DNS which is unfortunate (even with PIA DNS enabled). Is it possible to use the configuration which I used in the alternative connection above when using manual connection? Will it work if I change the pia.ovpn (which the manual connection uses) with the one from openvpn.zip given by PIA? Or is it the standard.ovpn I need to change?

Also another question, when my port forward opens it says that it will only be valid for 24hrs. Is this true?

Best regards,