Project

General

Profile

Feature #11140

Allow to use OpenVPN provided DNS servers

Added by Viktor Gurov 3 months ago. Updated 4 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
12/08/2020
Due date:
% Done:

100%

Estimated time:

Description

current /usr/local/sbin/ovpn-linkup script doesn't use OpenVPN-pushed DNS servers,
you need to catch them in the logs and add them manually.

Status -> System Logs -> OpenVPN:

PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.3.3.1,redirect-gateway def1,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.3.3.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.3.3.1 255.255.0.0,peer-id 0,cipher AES-256-GCM'

see example script:
https://github.com/alfredopalhares/openvpn-update-resolv-conf/blob/master/update-resolv-conf.sh

Associated revisions

Revision ee712bbb (diff)
Added by Viktor Gurov 4 days ago

Allow to use OpenVPN provided DNS servers. Implements #11140

History

#2 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review
  • Target version set to CE-Next

#3 Updated by Renato Botelho 4 days ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

#4 Updated by Viktor Gurov 4 days ago

  • % Done changed from 0 to 100

Also available in: Atom PDF