Changes

Client Mod
==Client Mod==
#Install the ''resolvconf'' package to give your OpenVPN client the ability to rebuild the ''resolv.conf'' file when you start and stop your VPN connection; backup/remove your existing ''resolv.conf'' file; and create a [https://en.wikipedia.org/wiki/Symbolic_link symlink] to ''resolvconf's'' ''resolv.conf'' file. This can all be done by running the following <pre>sudo apt install resolvconf&#10;sudo mv /etc/resolv.conf /etc/resolv.conf.orig&#10;sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf</pre>
#Add the following 2 lines to your ''client.ovpn'' file to run ''update-resolv-conf '' every time you connect to or disconnect from your VPN server <pre>up /etc/openvpn/update-resolv-conf&#10;down /etc/openvpn/update-resolv-conf</pre>
#Run the ''openvpn'' command with ''--script-security 2'' flag to allow ''update-resolv-conf'' to be run as in the following example <pre>sudo openvpn --script-security 2 --config /path/to/client.ovpn</pre>