public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] openvpn static ip
Date: Fri, 26 Feb 2010 09:33:21 +0100	[thread overview]
Message-ID: <201002260933.21733.joost@antarean.org> (raw)
In-Reply-To: <20100226003955.GF6860@syscon4.inet>

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 ?
> 
> 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,

From this, it looks like the "syscon9" file is not in the ".../ccd/" 
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]
> 
> 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

This seems to indicate it can't actually find the file 
"/etc/openvpn/ccd/syscon9"

This file needs to be located on the server, not on the client, as it's the 
server that determines the IP-address for the client.

--
Joost



  reply	other threads:[~2010-02-26  9:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  1:32 [gentoo-user] openvpn static ip Joseph
2010-02-25  2:51 ` Albert Hopkins
2010-02-25  3:37   ` Joseph
2010-02-25 11:56     ` Albert Hopkins
2010-02-25 16:52       ` Joseph
2010-02-25  7:40 ` Xavier Parizet
2010-02-25 16:51   ` Joseph
2010-02-25 17:12     ` Xavier Parizet
2010-02-25 19:20       ` Joseph
2010-02-25 20:01         ` Etaoin Shrdlu
2010-02-25 20:09         ` Xavier Parizet
2010-02-25 21:01           ` Joseph
2010-02-25 21:17             ` Xavier Parizet
2010-02-25 22:21               ` Joseph
2010-02-26  7:34                 ` Xavier Parizet
2010-02-26  0:39               ` Joseph
2010-02-26  8:33                 ` J. Roeleveld [this message]
2010-02-26 15:13                   ` [gentoo-user][SOLVED] " Joseph

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201002260933.21733.joost@antarean.org \
    --to=joost@antarean.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox