Project

General

Profile

Actions

Feature #11140

closed

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

Added by Viktor Gurov 10 months ago. Updated 4 months 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

Actions #2

Updated by Jim Pingle 9 months ago

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

Updated by Renato Botelho 7 months ago

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

PR has been merged. Thanks!

Actions #4

Updated by Viktor Gurov 7 months ago

  • % Done changed from 0 to 100
Actions #5

Updated by Jim Pingle 7 months ago

  • Target version changed from CE-Next to 2.6.0
Actions #6

Updated by Jim Pingle 5 months ago

  • Plus Target Version set to 21.05
Actions #7

Updated by Jim Pingle 5 months ago

Already in 21.05 branch.

Actions #8

Updated by Jim Pingle 5 months 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.

Actions #9

Updated by Jim Pingle 4 months ago

  • Target version changed from 2.6.0 to 2.5.2
Actions #10

Updated by Jim Pingle 4 months ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF