Hi,

On Fri, Oct 11, 2013 at 04:19:21PM +0400, Dmitry Melekhov wrote:
> I have following is server config:
> 
> push "dhcp-option DNS 192.168.0.1"
> 
> It's works for almost all users, but for some reason I don't need this 
> for one client- it will have access to only one specific ip and will not 
> use our dns.
> Is there any way to not push dns for this specific windows client?

Not particularily convenient, but what you can do is:

 - use --client-config-dir dir 
   to make openvpn check per-user configs in that dir (files named like
   the CN of the incoming certificate)

 - in that file, use "push-reset" as the very first option - this makes
   OpenVPN forget *everything* that would be pushed, so you need to repeat
   all other options besides the "dhcp-option DNS" here.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgp3TGALuVu4C.pgp
Description: PGP signature

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to