Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openvpn static ip
Date: Fri, 26 Feb 2010 01:03:36
Message-Id: 20100226003955.GF6860@syscon4.inet
In Reply to: Re: [gentoo-user] openvpn static ip by Xavier Parizet
1 On 02/25/10 22:17, Xavier Parizet wrote:
2 >From what i can see, please try to add full path to the ccd directory in
3 >client-config-dir directive on the server path. Also check permissions
4 >on that directory. On which user are you running openvpn on the server ?
5 >On the client ?
6
7 On client:
8 drwxr-xr-x 2 root root 4096 Feb 24 18:49 ccd
9 -rw-r--r-- 1 root root 45 Feb 25 12:13 syscon9
10
11 so this looks OK,
12
13 >Can you increase verbosity and see if there is no open fails on the
14 >server ? If it works, you should have the following line in server logs:
15 >OPTIONS IMPORT: reading client specific options from: [path to ccd]/syscon9
16 >MULTI: Learn: [192.168.139.15] -> syscon9/[ip source:port source]
17
18 I've increased verbosity on server to 9
19 but I can not find any phrase in the serer log file: "fails" "IMPORT"
20
21 but I've noticed this section on the server log:
22
23 ...syscon9/68.148.245.78:56172 TEST FILE '/etc/openvpn/ccd/syscon9' [0]
24 ...syscon9/68.148.245.78:56172 TEST FILE '/etc/openvpn/ccd/DEFAULT' [0]
25 ...syscon9/68.148.245.78:56172 MULTI: Learn: 192.168.139.2 -> syscon9/68.148.245.78:56172
26
27 If I change the directory to "ccd" the log just shows:
28 ...syscon9/68.148.245.78:56172 TEST FILE 'ccd/syscon9' [0]
29 ...syscon9/68.148.245.78:56172 TEST FILE 'ccd/DEFAULT' [0
30
31 --
32 Joseph

Replies

Subject Author
Re: [gentoo-user] openvpn static ip "J. Roeleveld" <joost@××××××××.org>