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 1NkocC-0004Cj-6x for garchives@archives.gentoo.org; Fri, 26 Feb 2010 01:03:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62A4EE0BB9 for ; Fri, 26 Feb 2010 01:03:35 +0000 (UTC) Received: from mail.shawcable.com (shawmail.shawcable.com [64.59.128.220]) by pigeon.gentoo.org (Postfix) with ESMTP id A71ECE0A43 for ; Fri, 26 Feb 2010 00:39:55 +0000 (UTC) Received: from bpd2mi5no-svcs.prod.shawcable.com ([10.0.184.160]) by bpd2mo1no-ssvc.prod.shawcable.com with ESMTP; 25 Feb 2010 17:39:55 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=tiDpqCBa0E0A:10 a=dgx804EzjhD8CRYpIFkhZA==:17 a=JuLEht239ZtVPX3MXwoA:9 a=9p1Pwy1l1jyFgqR3yR4smwIwYnYA:4 X-IronPort-AV: E=Sophos;i="4.49,542,1262588400"; d="scan'208";a="127442524" Received: from unknown (HELO bpd2mi5no-cmts.prod.shawcable.com) ([192.168.183.160]) by bpd2mi5no-cmts.prod.shawcable.com with ESMTP; 25 Feb 2010 17:39:55 -0700 X-reinject: true Received: from unknown (HELO syscon4.localdomain) ([68.148.245.78]) by bpd2mi5no-dmz.prod.shawcable.com with ESMTP; 25 Feb 2010 17:39:55 -0700 Received: by syscon4.localdomain (Postfix, from userid 1000) id 897A4C3A1B; Thu, 25 Feb 2010 17:39:55 -0700 (MST) Date: Thu, 25 Feb 2010 17:39:55 -0700 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] openvpn static ip Message-ID: <20100226003955.GF6860@syscon4.inet> References: <20100225013240.GB5865@syscon4.inet> <4B86298B.50601@gentooist.com> <20100225165105.GA25777@syscon4.inet> <4B86AF72.6020000@gentooist.com> <20100225192009.GA6860@syscon4.inet> <4B86D8DD.1030705@gentooist.com> <20100225210109.GC6860@syscon4.inet> <4B86E8D8.9060304@gentooist.com> 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; format=flowed Content-Disposition: inline In-Reply-To: <4B86E8D8.9060304@gentooist.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: 82a952a1-eef9-4243-998d-9208a52b1f0b X-Archives-Hash: 2935fea86efc494aae73d7668b7e59ab 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 ? 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 so this looks OK, >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] I've increased verbosity on server to 9 but I can not find any phrase in the serer log file: "fails" "IMPORT" but I've noticed this section on the server log: ...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 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 -- Joseph