Le 25/02/2010 17:51, Joseph a écrit :
> On 02/25/10 08:40, Xavier Parizet wrote:
>> On 02/25/2010 02:32 AM, Joseph wrote:
>>> I've configured OpenVPN and it works OK but I can not seems to figure it
>>> out how to assign static IP to clients
>>>
>>> My server.conf port 8458
>>> [SNIP]
>>>
>>> On client in /etc/openvpn/ccd directory I've created a file "syscon9"
>>> with:
>>> ifconfig-push 192.168.139.15 192.168.139.1
>>
>> Hmmm... 192.168.139.1 does not seem a remote netmask, isn't it ?
>> man openvpn tell me the following for ifconfig-push:
>> --ifconfig-push local remote-netmask
>>
>> so, put ifconfig-push 192.168.139.15 255.255.255.0 rather than the line
>> above in the ccd directory.
>>
>> If it doesn't work, then please post the openvpn.log of the client.
> 
> I've tried it many time, it doesn't work with the netmaks. File: syscon9
> from ccd:
> cat syscon9
> ifconfig-push  192.168.0.15 255.255.255.0
                        ^^^
                         this is wrong (or maybe a typing mistake?)

If it's a typing mistake, then please post now server side log.

> [SNIP]

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    C7DC B10E FC21 63BE
B453 D239 F6E6 DF65 1569 91BF

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to