LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 12-20-2015, 04:19 PM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Rep: Reputation: Disabled
how to make openVPN update resolvconf


hi all,

https://github.com/masterkorp/openvp...te-resolv-conf

im struggling trying to get this to work

do i just need to copy/paste the script "update-resolv-conf.sh" and save it to /etc/openvpn/update-resolv-conf.sh

and then write the following lines in my client.ovpn file

# This updates the resolvconf with dns settings
script-security 2
up /etc/openvpn/update-resolv-conf.sh
down /etc/openvpn/update-resolv-conf.sh

sorry for the dumb question

cheers

rob
 
Old 12-26-2015, 07:40 AM   #2
linuxtech99
Member
 
Registered: Jan 2015
Posts: 35

Rep: Reputation: 4
Not sure what OS you use. Here is some instruction from ArchWiki to setup resolvconf - https://wiki.archlinux.org/index.php...nd_client_LANs
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] openvpn slow in 1 direction after most recent update psycroptic Linux - Server 1 04-23-2014 02:21 AM
resolvconf on wheezy Makar Debian 1 01-30-2014 08:03 PM
resolvconf interface and dns kurotsuki Red Hat 1 04-13-2012 12:19 AM
how can i make openvpn working without nating in firewall saravanakumar Linux - Server 2 07-26-2011 03:39 PM
resolvconf bug? mcd Linux - Networking 2 07-25-2005 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration