Comment 62 for bug 1211110

Revision history for this message
George Velimachitis (gvelim) wrote :

I managed to get OpenVPN working from within Network-Manager using the following setup

1. Setup your OpenVPN connection in Network Manager using "Network Connections / Add / OpenVPN"
2. Create a new LAN/WLAN connection e.g. "LAN VPN"
3. In "General" Tab set "automatically connect to VPN" and select the OpenVPN entry
4. In "IPv4" tab set "DHCP Address only" and set DNS address of the VPN provider manually
5. Save and test

You should be able to select "LAN VPN" connection which will kick-off the OpenVPN which will then make use of the DNS entry that is manually provided.

So you indirectly activate the VPN connection which also gives you no DNS leaks.

PS: In /etc/NetworkManager/NetworkManager.conf I had to comment out the dns=dnsmasq entry.