[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] How to refuse DHCP options on client


  • Subject: Re: [Openvpn-users] How to refuse DHCP options on client
  • From: "Kris Boulez" <kris.boulez@xxxxxxxxx>
  • Date: Thu, 8 Jun 2006 19:04:48 +0200

On 6/8/06, Charles Duffy <cduffy@xxxxxxxxxxx> wrote:
> Kris Boulez wrote:
> > The client on windows is working great and DHCP options (like
> > name-server) are pushed from the server to the client. I find myself
> > now in a situation in which I want the OpenVPN client to ignore the
> > DHCP options it is being offered (as in: I want to keep using the name
> > server I got on my LAN and not the one given by the OpenVPN server).
> > I dont't want to do this on the server side as this is something we
> > need for most of our clients. I really want to disable this on a
> > per-client basis.
>
> Your clients are on Windows, right? Just set the tap-win32 adapters on
> the relevant clients to have a static DNS server IP rather than using
> the ones from DHCP. If you haven't changed the ip-win32 method from
> dynamic, this should Do The Right Thing.
>
>
The problem is that I want this to work at different networks (with
different name servers) for the same client. These are people going to
different customer sites, with all their different network setup. I
know I can set a fixed name server on the tap-win32 adapter, but this
would mean each time looking up the name servers one gets via DHCP on
the LAN and then configure them manually on the tap-win32 adapter.

What I really want is a way to say is: "get the name servers via DHCP
on the LAN interface and ignore the name-servers that are pushed to
you via OpenVPN". Is this possible ?

Kris


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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-06/msg00087.html on line 205

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-06/msg00087.html on line 205