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

Re: [Openvpn-users] static IP


  • Subject: Re: [Openvpn-users] static IP
  • From: "Remus" <rmocius@xxxxxxxxxxxxxx>
  • Date: Wed, 3 Nov 2004 15:15:21 -0000

Hi Mathias,

The problem was with the chroot, it was pointed to the folder outside of openvpn folder.
I just did chroot /etc/openvpn/ccd and now everything is just fine.


Thanks

Remus

----- Original Message ----- From: "Mathias Sundman" <mathias@xxxxxxxxxx>
To: "Remus" <rmocius@xxxxxxxxxxxxxx>
Cc: <openvpn-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 02, 2004 9:31 PM
Subject: Re: [Openvpn-users] static IP



On Tue, 2 Nov 2004, Remus wrote:

I know that, verything is OK with CN and file name, they are the same ones.

Also I have have no permision problems.

Try to run strace on the process like:

strace -e open -p PID

where PID is the process id of the running openvpn daemon. You should then
see a line like this when you connect:

open("/etc/openvpn/clients-config/Mathias.Sundman", O_RDONLY) = 7

If you don't get any such line then OpenVPN is not trying to open the file
at all, and then you need to go back to your config file and start
changing things until it starts trying to open the file!

If you do get such a line, then you should be able to tell that it is
either looking in the wrong place, or that it fails for some other reason
by the code at the end of the line.

/Mathias

PS: Please don't top-post.





____________________________________________
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/2004-11/msg00071.html on line 210

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/2004-11/msg00071.html on line 210