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