On CentOS 8.1 using :
openvpn-2.4.8-1.el8.x86_64 : A full-featured SSL VPN solution
Repo : epel
Using an .OPVN file known to work with other systems.
# openvpn --config Good.ovpn
...
Sat Mar 7 10:45:45 2020 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.X.9.1,dhcp-option DNS 8.8.4.4,route-gateway 10.X.9.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.X.9.3 255.255.255.0,peer-id 0,cipher AES-256-GCM'
...
Sat Mar 7 10:48:52 2020 Initialization Sequence Completed
VPN Connects successfully and is usable BUT :
OpenVPN Server pushed 2 DNS :
DNS 10.X.9.1
DNS 8.8.4.4
NO DNS changes are made to system !
$ more /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.X.X
VPN IS USING LOCAL DNS NOT PUSHED DNS.
Can others confirm this bug ?
This is also true when importing a VPN into GUI it appears.
UPDATE :
Just created an CentOS8 VM from scratch and reproduced the problem there.
Probably should not use OpenVPN until issue is fixed unless you dont care about DNS leakage.
OpenVPN DNS Bug/Brokeness
Issues related to configuring your network
Return to “8 /8-Stream / 9-Stream - Networking Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support