Location and names of openvpn *.conf files

Whaat and where are the openvpn *.conf files located that are being referred to in the comments at the top of the /etc/openvpn/update-resolv-conf file?

I am trying to get the DNS addresses updated when OpenVPN connects and then reverted to the original DNS addresses when OpenVPN disconnects.

Comments from /etc/openvpn/update-resolv-conf file <<<<<<<<

root@Percy:/home/osmc/vpn-conf# cat /etc/openvpn/update-resolv-conf

Parses DHCP options from openvpn to update resolv.conf

To use set as ‘up’ and ‘down’ script in your openvpn *.conf:

up /etc/openvpn/update-resolv-conf

down /etc/openvpn/update-resolv-conf

Used snippets of resolvconf script by Thomas Hood and Chris Hanson.

Licensed under the GNU GPL. See /usr/share/common-licenses/GPL.


Your vpn provider normally provides .opvn, which are usually save of copy of with your configuration changes as .conf. So for example your vpn may provide uk.opvn, this would probably be saved as uk.conf. These are normally located in /etc/openvpn.

Thanks Tom.