|
|
Hi, i'm trying to set up a fixed ip for a client, but it seems that the ccd directory isn't be read at all. My server config is this: root@server:/etc/openvpn# openvpn --version OpenVPN 2.0.2 i686-pc-linux [SSL] [EPOLL] built on Oct 24 2005 Developed by James Yonan Copyright (C) 2002-2005 OpenVPN Solutions LLC <info@xxxxxxxxxxx> ----------- port 1195 proto udp dev tun tun-mtu 1500 ca /etc/openvpn/server.crt cert /etc/openvpn/ca.crt key /etc/openvpn/server.key dh /etc/openvpn/dh1024.pem server 10.0.17.0 255.255.255.0 ifconfig-pool-persist ipp-intranet.txt push "route 10.0.0.0 255.0.0.0" client-config-dir /usr/m/ccd push "redirect-gateway" push "dhcp-option DNS xx.xx.xx.xx" push "dhcp-option DNS xx.xx.xx.xx" push "dhcp-option WINS xx.xx.xx.xx" keepalive 10 120 tls-auth /etc/openvpn/ModenaCA/Centauri/ta.key 0 # This file is secret cipher AES-256-CBC # AES user nobody group nobody persist-key persist-tun status openvpn-status.log log /var/log/openvpn-intranet.log verb 5 chroot /usr/m/ plugin /etc/openvpn/ModenaCA/openvpn-auth-pam.so login ----------------------- root@server:/etc/openvpn# cat /usr/m/ccd/1 ifconfig-push 10.0.17.10 10.0.17.9 root@server:/etc/openvpn# ls -l /usr/m/ccd -rw-r--r-- 1 nobody nobody 37 Nov 30 17:08 1 Also the /usr/m directory is owned by nobody.nobody ..I cannot undestand why when i connect to the server using the config of client 1 i steel see in the logs: .. PUSH: Received control message: 'PUSH_REPLY,route 10.0.0.0 255.0.0.0,redirect-gateway,dhcp-option DNS 10.x.x.x,dhcp-option DNS 10.x.x.x,dhcp-option WINS 10.x.x.x,route 10.0.17.1,ping 10,ping-restart 120,ifconfig 10.0.17.6 10.0.17.5' ... so my client still get the ip address 10.0.17.6 Some one can help in fixing this?? Tahnks in advance, Andrea ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx 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/2005-12/msg00041.html on line 239 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/2005-12/msg00041.html on line 239 |