[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Problems with ifconfig-pool-persist


  • Subject: Re: [Openvpn-users] Problems with ifconfig-pool-persist
  • From: "Michael Scheidell" <scheidell@xxxxxxxxxx>
  • Date: Tue, 4 Jul 2006 12:10:43 -0400

If I openvpn I running as non root, and I don't create the file ahead of
time and chown,chgrp and chmod it, it doesn't work.

Step to recreate:

rm ip file.
Options:
persist-tun
persist-key
persist-local-ip
persist-remote-ip
ifconfig-pool-persist /usr/local/etc/openvpn/client2ip.txt 60
client-config-dir ccd
ccd-exclusive
Start openvpn.

Notice file is created 0:0, 0 bytes, rx----- permissions.

-rw-------  1 root wheel     0 Jul  4 12:01 client2ip.txt

wait 180 seconds:
Nothing written to client2ip.txt even after multiple clients connect.

Options:
persist-tun
persist-key
persist-local-ip
persist-remote-ip
ifconfig-pool-persist /usr/local/etc/openvpn/client2ip.txt 60
client-config-dir ccd
#ccd-exclusive

Still nothing.

Options:
persist-tun
persist-key
persist-local-ip
persist-remote-ip
ifconfig-pool-persist /usr/local/etc/openvpn/client2ip.txt 60
#client-config-dir ccd
#ccd-exclusive

So, it's the client-config-dir ccd that does it.

I was hoping to use ccd to populate the client2ip.txt file, guess I will
have to do it by hand.

Thanks.
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-07/msg00014.html on line 221

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-07/msg00014.html on line 221