Project

General

Profile

Actions

Feature #11140

closed
VG VG

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

Feature #11140: Allow the firewall to use DNS servers provided to an OpenVPN client instance

Added by Viktor Gurov over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Viktor Gurov
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

JP Updated by Jim Pingle over 5 years ago Actions #2

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

RB Updated by Renato Botelho over 5 years ago Actions #3

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

PR has been merged. Thanks!

VG Updated by Viktor Gurov over 5 years ago Actions #4

  • % Done changed from 0 to 100

Applied in changeset commit:ee712bbb11bd04d442c545ab151a4df9e083edb6.

JP Updated by Jim Pingle over 5 years ago Actions #5

  • Target version changed from CE-Next to 2.6.0

JP Updated by Jim Pingle over 5 years ago Actions #6

  • Plus Target Version set to 21.05

JP Updated by Jim Pingle over 5 years ago Actions #7

Already in 21.05 branch.

JP Updated by Jim Pingle over 5 years ago Actions #8

  • 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.

JP Updated by Jim Pingle over 5 years ago Actions #9

  • Target version changed from 2.6.0 to 2.5.2

JP Updated by Jim Pingle over 5 years ago Actions #10

  • Status changed from Feedback to Closed
Actions

Also available in: Atom