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

Re: [Openvpn-users] ifconfig-push doesn't give me what I expect

  • Subject: Re: [Openvpn-users] ifconfig-push doesn't give me what I expect
  • From: Erich Titl <erich.titl@xxxxxxxx>
  • Date: Tue, 10 Jul 2007 06:28:05 +0000


Alain Williams wrote:
> On Mon, Jul 09, 2007 at 10:16:19PM +0200, Erich Titl wrote:
>> Alain
>> I guess you are expecting the wrong values.
>> Alain Williams schrieb:
>> ...
>>> On the server I have:
>>> /etc/openvpn/Clients/remoteMachine.example.com:
>>> 	ifconfig-push
>> This is not the way it is set down in the docs.
> OK, so why when I change it to:
> 	ifconfig-push

The ifconfig push pushes addresses in a /30 network unless you are using
infrastructure mode.

the correct notation should be in a /30 network e.g.




> Does nothing change ?
>> from the manual
>> --ifconfig-push local remote-netmask
>>     Push virtual IP endpoints for client tunnel, overriding the
>> --ifconfig-pool dynamic allocation.
>>     The parameters local and remote-netmask are set according to the
>> --ifconfig directive which you want to execute on the client machine to
>> configure the remote end of the tunnel. Note that the parameters local
>> and remote-netmask are from the perspective of the client, not the
>> server. They may be DNS names rather than IP addresses, in which case
>> they will be resolved on the server at the time of client connection.
>> the name remote-netmask for the second parameter may be a bit misleading.
>> and on the HowTo you find an example
>> ccd/sysadmin1
OpenVPN mailing lists