Page 1 of 1

OpenVPN - push dns depends on a client

Posted: Mon Mar 12, 2018 1:23 pm
by lkt
Hi all
I try to configure OpenVPN server on Ubuntu 16.04.

I enabled the directive that configure all clients to redirect their default network gateway through my VPN. But I would like that some certain clients do not redirect their default network gateway through my VPN just have access to private network.

Is it possible ?

Re: OpenVPN - push dns depends on a client

Posted: Mon Mar 12, 2018 2:05 pm
by TinCanTech
Use --client-config-dir and specify each client connection individually.

See https://openvpn.net/index.php/open-sour ... tml#policy

Also See --client-config-dir in The Manual v24x