On 11/11/2021 05:25, Gert Doering wrote:
Hi,

On Wed, Nov 10, 2021 at 10:18:02PM +0000, lejeczek via Openvpn-users wrote:
I have, I'd like to think a "regular" server setup where
clients from Windowze and Macs do get name resolution work
apparently very well, whereas Linux client - all clients do
use almost identical config - seems pretty broken.
Linux client seems to take notice of what server pushes,
namely DNS server & domains but, really nothing comes out of it.
It cannot be some limitation of Linuxes - I'm on latest
Fedora - I must be missing something and what that might be,
if you care to suggest, I'll appreciate.
many thanks, L.
On Linux, OpenVPN does not modify the DNS servers itself (unlike Windows).

There's two ways to make it happen

  - use Network Manager to run OpenVPN - it will parse the server reply,
    and set up DNS accordingly

  - add an "up $script" to your client config to do the DNS setup -
    we ship a sample script ("pull-resolv-conf") to do that, but I'm
    not sure if Fedora integrates that, or uses something else - ask
    rpm what is in the openvpn package.

gert
Thanks for that.
I've never thought of NM as better alternative than opvn itself, it seems to work however I wonder if NM (at least in Fedora) has a problem with re-uping connection after system resumed from sleep.
L.


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to