Project

General

Profile

Actions

Feature #11140

closed

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

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

Also available in: Atom PDF