Re: [gentoo-user] openvpn static ip

2010-02-26 Thread J. Roeleveld
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 open

Re: [gentoo-user] openvpn static ip

2010-02-26 Thread Xavier Parizet
On 02/25/2010 11:21 PM, Joseph wrote: > On 02/25/10 22:17, Xavier Parizet wrote: >> [snip] > > I added full path to the server for ccd: > /etc/openvpn/ccd > > Now I'm getting consistent IP: 192.168.139.2 every-time I restart > openvpn.client_clinic2 > but I'm not getting what I requested in ccd/s

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Joseph
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

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Joseph
On 02/25/10 22:17, Xavier Parizet wrote: [snip] topology subnet remote 208.38.31.237 9000 resolv-retry infinite nobind ^^ you should remove this line to avoid connection refused messages from the server. As you are in udp, client should bind on udp source port to get messages from the serv

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Xavier Parizet
Le 25/02/2010 22:01, Joseph a écrit : > On 02/25/10 21:09, Xavier Parizet wrote: > [snip] >>> Yes, it was a typo :-/ I corrected it: >>> cat syscon9 >>> ifconfig-push 192.168.139.15 255.255.255.0 >>> >>> but from log you can see it still didn't give me what I want, I got IP >>> 192.168.139.6 and w

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Joseph
On 02/25/10 21:09, Xavier Parizet wrote: [snip] Yes, it was a typo :-/ I corrected it: cat syscon9 ifconfig-push 192.168.139.15 255.255.255.0 but from log you can see it still didn't give me what I want, I got IP 192.168.139.6 and was asking for: 192.168.139.15 log: cat /var/log/openvpn.log [S

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Etaoin Shrdlu
On Thursday 25 February 2010, Joseph wrote: > Yes, it was a typo :-/ I corrected it: > cat syscon9 > ifconfig-push 192.168.139.15 255.255.255.0 > > but from log you can see it still didn't give me what I want, I got IP > 192.168.139.6 and was asking for: 192.168.139.15 Try adding topology sub

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Xavier Parizet
Le 25/02/2010 20:20, Joseph a écrit : > On 02/25/10 18:12, Xavier Parizet wrote: >> Le 25/02/2010 17:51, Joseph a ??crit : >>> 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 >>>

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Joseph
On 02/25/10 18:12, Xavier Parizet wrote: Le 25/02/2010 17:51, Joseph a ??crit : 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 84

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Xavier Parizet
Le 25/02/2010 17:51, Joseph a écrit : > 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 cl

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Albert Hopkins
On Wed, 2010-02-24 at 20:37 -0700, Joseph wrote: > The directory name shouldn't make any difference, I'm using directory > name "ccd"; though I've tried the IP's you suggested, it makes no > difference, still > not getting static IP :-/ > > Thanks for suggestion, I've been on it all day and can n

Re: [gentoo-user] openvpn static ip

2010-02-25 Thread Xavier Parizet
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 > proto udp > dev tun > mode server > ca /usr/share/openvpn/easy-rsa/keys/ca.crt > cert /usr/share/openvpn/easy-rsa

Re: [gentoo-user] openvpn static ip

2010-02-24 Thread Joseph
On 02/24/10 21:51, Albert Hopkins wrote: On Wed, 2010-02-24 at 18:32 -0700, 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 Put this your config config: client-config-dir client.d And then in client.d/ have

Re: [gentoo-user] openvpn static ip

2010-02-24 Thread Albert Hopkins
On Wed, 2010-02-24 at 18:32 -0700, 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 Put this your config config: client-config-dir client.d And then in client.d/ have a file for each client, e.g. #

[gentoo-user] openvpn static ip

2010-02-24 Thread Joseph
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 proto udp dev tun mode server ca /usr/share/openvpn/easy-rsa/keys/ca.crt cert /usr/share/openvpn/easy-rsa/keys/server.crt key /usr/share/openvpn/easy-rsa/keys/