Open saponace opened 7 years ago
That's a great idea. Mind opening a PR for this?
Sure, but I'm super busy at the moment, so it might take some time before I actually start working on it (especially since I know nothing about ufw), but I'll do it with pleasure.
There is something I don't get though : Has this functionality ever worked ? I doubt since the interface is fully blacklisted from ufw, then OpenVPN cannot resolve xxxxx.privateinternetaccess.com DNS name. Am I right ?
Hi, I just discovered pia-tools (which is, in my opinion, the best pia-helper out there). I encountered an issue when trying to block all non-VPN traffic with the option
--disallow
The scenario is :
systemctl start pia@Sweden
Here are systemd logs
And it will loop in this state until I disable ufw, and OpenVPN can connect to pia's VPNs. I can then re-enable ufw and it keeps working.
Would it be possible to whitelist all private internet access IP's in ufw since we have the list from pia itself when installing pia-tools ?
By the way, the quick help
pia-tools -h
outputs-a: Block non VPN traffic (iptables) -d: Unblock non VPN traffic (iptables)
but should output-a: Allow non VPN traffic (iptables) -d: Block non VPN traffic (iptables)
(The manpage is right).Thanks