How to fix DNS leak with OpenVPN & Network Manager

Adding following lines into the .ovpn file before I import it to Network Manager on Ubuntu fixed DNS leak with my VPN connection established by NetworkManager. script-security 2 up /etc/openvpn/update-resolv-conf down /etc/openvpn/update-resolv-conf These lines should be added below the lines of initial commands and before the lines of certificates. ErtuğrulDeveloping software, offering legal services, and gaming […]

NetworkManager connection problem on Arch Linux [SOLVED]

networkmanager-openvpn should be installed for managing OpenVPN via GUI on Arch Linux. I added configuration for my OpenVPN connection but it was not connecting via GUI without any error message. I was able to connect using openvpn command. I checked the log with journalctl | grep NetworkManager and I noticed (gnome-control-center:6433): libnm-glib-WARNING **: Device activation […]

How to keep VPN connection alive automatically on debian

In today’s world of relentless surveillance, censorship and raising authoritarianism, using VPN –while it is still legal– should be a routine practice. I wrote a script to keep my VPN connection alive. This script runs when you log in and checks every 20 seconds whether your VPN is connected or not. If it finds out […]