Project

General

Profile

Feature #11140

Allow the firewall to use DNS servers provided to an OpenVPN client instance

Added by Viktor Gurov 6 months ago. Updated 10 days ago.

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

100%

Estimated time:
Plus Target Version:
21.05
Release Notes:
Default

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 months ago

Allow to use OpenVPN provided DNS servers. Implements #11140

History

#2 Updated by Jim Pingle 5 months ago

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

#3 Updated by Renato Botelho 4 months 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 months ago

  • % Done changed from 0 to 100

#5 Updated by Jim Pingle 3 months ago

  • Target version changed from CE-Next to 2.6.0

#6 Updated by Jim Pingle about 1 month ago

  • Plus Target Version set to 21.05

#7 Updated by Jim Pingle about 1 month ago

Already in 21.05 branch.

#8 Updated by Jim Pingle about 1 month ago

  • Subject changed from Allow to use OpenVPN provided DNS servers to Allow the firewall to use DNS servers provided to an OpenVPN client instance

Updating subject for release notes.

#9 Updated by Jim Pingle 16 days ago

  • Target version changed from 2.6.0 to 2.5.2

#10 Updated by Jim Pingle 10 days ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF