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 1NkwCA-00011o-8U for garchives@archives.gentoo.org; Fri, 26 Feb 2010 09:09:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D43B2E0B8B for ; Fri, 26 Feb 2010 09:09:13 +0000 (UTC) Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by pigeon.gentoo.org (Postfix) with ESMTP id 44048E091B for ; Fri, 26 Feb 2010 08:33:24 +0000 (UTC) Received: from [212.54.34.136] (helo=smtp5.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1NkvdT-0002sj-RF for gentoo-user@lists.gentoo.org; Fri, 26 Feb 2010 09:33:23 +0100 Received: from 5353258a.cable.casema.nl ([83.83.37.138] helo=data.hosts.antarean.org) by smtp5.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1NkvdS-0001Jr-Tm for gentoo-user@lists.gentoo.org; Fri, 26 Feb 2010 09:33:23 +0100 Received: from localhost (localhost [127.0.0.1]) by data.hosts.antarean.org (Postfix) with ESMTP id 61D2628066 for ; Fri, 26 Feb 2010 09:33:22 +0100 (CET) X-Virus-Scanned: amavisd-new at antarean.org Received: from data.hosts.antarean.org ([127.0.0.1]) by localhost (data.hosts.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P9j17NOfMW-o for ; Fri, 26 Feb 2010 09:33:22 +0100 (CET) Received: from eve.localnet (eve.hosts.antarean.org [10.1.5.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.hosts.antarean.org (Postfix) with ESMTPS id 44C7F27887 for ; Fri, 26 Feb 2010 09:33:22 +0100 (CET) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] openvpn static ip Date: Fri, 26 Feb 2010 09:33:21 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.30-gentoo-r5; KDE/4.3.3; x86_64; ; ) References: <20100225013240.GB5865@syscon4.inet> <4B86E8D8.9060304@gentooist.com> <20100226003955.GF6860@syscon4.inet> In-Reply-To: <20100226003955.GF6860@syscon4.inet> 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 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201002260933.21733.joost@antarean.org> X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1NkvdS-0001Jr-Tm X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=-0.031, vereist 5, BAYES_40 -0.18, TW_RW 0.08, TW_WX 0.08) X-ZiggoSMTP-MailScanner-From: joost@antarean.org X-Spam-Status: No X-Archives-Salt: 4ab6042d-730b-47bf-801a-eb798d734edf X-Archives-Hash: 23be930974d80f97c8c4494cbe582f80 On Friday 26 February 2010 01:39:55 Joseph wrote: > On 02/25/10 22:17, Xavier Parizet wrote: > >From what i can see, please try to add full path to the ccd directory in > >client-config-dir directive on the server path. Also check permissions > >on that directory. On which user are you running openvpn on the server ? > >On the client ? >=20 > On client: > drwxr-xr-x 2 root root 4096 Feb 24 18:49 ccd > -rw-r--r-- 1 root root 45 Feb 25 12:13 syscon9 >=20 > so this looks OK, =46rom this, it looks like the "syscon9" file is not in the ".../ccd/"=20 directory? Also, isn't this file supposed to be on the server? > >Can you increase verbosity and see if there is no open fails on the > >server ? If it works, you should have the following line in server logs: > >OPTIONS IMPORT: reading client specific options from: [path to > > ccd]/syscon9 MULTI: Learn: [192.168.139.15] -> syscon9/[ip source:port > > source] >=20 > I've increased verbosity on server to 9 > but I can not find any phrase in the serer log file: "fails" "IMPORT" >=20 > but I've noticed this section on the server log: >=20 > ...syscon9/68.148.245.78:56172 TEST FILE '/etc/openvpn/ccd/syscon9' [0] > ...syscon9/68.148.245.78:56172 TEST FILE '/etc/openvpn/ccd/DEFAULT' [0] > ...syscon9/68.148.245.78:56172 MULTI: Learn: 192.168.139.2 -> > syscon9/68.148.245.78:56172 >=20 > If I change the directory to "ccd" the log just shows: > ...syscon9/68.148.245.78:56172 TEST FILE 'ccd/syscon9' [0] > ...syscon9/68.148.245.78:56172 TEST FILE 'ccd/DEFAULT' [0 This seems to indicate it can't actually find the file=20 "/etc/openvpn/ccd/syscon9" This file needs to be located on the server, not on the client, as it's the= =20 server that determines the IP-address for the client. =2D- Joost