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

Re: [Openvpn-users] Use DHCP only, turn all ifconfig options off


  • Subject: Re: [Openvpn-users] Use DHCP only, turn all ifconfig options off
  • From: "James Yonan" <jim@xxxxxxxxx>
  • Date: Thu, 3 Jun 2004 15:10:28 -0000

"E. Versteegt" <eymert@xxxxxxxxxxxxx> said:

> Hi!
> 
> 
> James Yonan wrote:
> > Eymert,
> > 
> 
> > 
> > Yes, just get rid of all ifconfig* options in the client config, and don't use
> > ifconfig-pool in the server config.
> > 
> > James
> > 
> 
> I already tried this, but with no effect. The warning about the 
> conflicting options stays. The client just keeps expecting --ifconfig 
> options in the server config (remote config), even when I don't mension 
> any --ifconfig anywhere.

With 2.0-beta2 and later, --ifconfig* is not required with --mode server or
connecting client, but only if tap interfaces are being used (--dev tap).

You will also get a gentle warning from the server:

MULTI: no dynamic or static remote --ifconfig address is available for x.x.x.x

which is purely informational and does indicate an error condition.

You cannot use --dev tun without --ifconfig on Windows.  This is because tun
interfaces require IP endpoints to be defined.

James


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/2004-06/msg00088.html on line 204

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/2004-06/msg00088.html on line 204