From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nki3X-0002EY-J6 for garchives@archives.gentoo.org; Thu, 25 Feb 2010 18:03:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8F7CE09FB for ; Thu, 25 Feb 2010 18:03:22 +0000 (UTC) Received: from mx1.linuxant.fr (mx1.linuxant.fr [87.98.143.218]) by pigeon.gentoo.org (Postfix) with ESMTP id 97DD5E0B8E for ; Thu, 25 Feb 2010 17:12:29 +0000 (UTC) Received: from [192.168.1.250] (93-139-8-252.adsl.net.t-com.hr [93.139.8.252]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: xavier) by mx1.linuxant.fr (Postfix) with ESMTPSA id D070421C2 for ; Thu, 25 Feb 2010 18:12:31 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.3 mx1.linuxant.fr D070421C2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gentooist.com; s=DKIM; t=1267117952; bh=lG5xpG4HnWEHN0L0dPccl3Ea6Pr8fgd43YLb9gVp/R4=; l=1936; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=NAhWxYdJwXrrXVnTIGJ+jE51KiYzNjvs/CPO8oJqtSu3vWYgEDtS14HdY30dqD1SD 8q311rkFLGo7o9xmJnTDyKXjqy7UfwQGvl4io2/JzKw+ZtZdilckjOqrbnKwjGBi77 gdESCBlfUkzPzTaW2A/q2TWmAQbDOOvI3V6P7QvA= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 mx1.linuxant.fr D070421C2 DomainKey-Signature: a=rsa-sha1; s=DomainKey; d=gentooist.com; c=nofws; q=dns; h=message-id:date:from:reply-to:user-agent:mime-version:to: subject:references:in-reply-to:x-enigmail-version:content-type; b=hS5Vdat1mgzp96OfnEQhLat3HR86vHPodYejdTtv7VV3w6dKTzy8ie1AVj92weMaD 3qkqfVWTH0Q5+tKqw9o7vbGJxQsPLGusBIkr5aY30qtXsVg2ihsRk3OMuT9vja2zQrK K0/DkfyM50uMGWGklHx81603B7gX66F2T8/0saw= Message-ID: <4B86AF72.6020000@gentooist.com> Date: Thu, 25 Feb 2010 18:12:18 +0100 From: Xavier Parizet User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.7) Gecko/20100205 Lightning/1.0b2pre Thunderbird/3.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] openvpn static ip References: <20100225013240.GB5865@syscon4.inet> <4B86298B.50601@gentooist.com> <20100225165105.GA25777@syscon4.inet> In-Reply-To: <20100225165105.GA25777@syscon4.inet> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig697897E9135D879EFC2DBD17" X-Archives-Salt: 2296d5ee-ac79-46aa-abf9-38b84a1096d8 X-Archives-Hash: dc65ae3ec87f60d47d4d5959e391bdde This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig697897E9135D879EFC2DBD17 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le 25/02/2010 17:51, Joseph a =C3=A9crit : > 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 lin= e >> above in the ccd directory. >> >> If it doesn't work, then please post the openvpn.log of the client. >=20 > I've tried it many time, it doesn't work with the netmaks. File: syscon= 9 > 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] --=20 Xavier Parizet YaGB : http://gentooist.com GPG : C7DC B10E FC21 63BE B453 D239 F6E6 DF65 1569 91BF --------------enig697897E9135D879EFC2DBD17 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuGr3cACgkQ9ubfZRVpkb9lcACcC1fcq6FLekcXFY9dTDsAtwVc 068Anir3mQKsdDziOq9DeWvBEb6ZIsah =TCzK -----END PGP SIGNATURE----- --------------enig697897E9135D879EFC2DBD17--