chiew yock sang wrote:
From: Martin Hejl <[EMAIL PROTECTED]>

In routerA, when i try to ping 192.168.99.2, the following commands shows:
Virtual device tun0 asks to queue packet!
ping: sendto: Network is down

Hm, I've never seen that error - but I must say, I'm not quite sure how commands actually "pop up" - do you mean that the message you quoted appears on the console? Or in the logs (and if so, which log)?
it appears in the console. So, what is the problem? and what can i do to solve it?
Please try to quote properly - of the above paragraph, everything until "...(and if so, which log)?" was written by me, the rest was written by you - but there's no way anyone can tell.

Regarding your question, I don't know - as I said, I've never seen that error. But the kind of message strongly suggests that the network link (either just the openvpn part of it, or all of it) is not quite working.

When setting up VPNs with OpenVPN, I've found it to be essential to actually stick to the documentation provided - for example, when the documentation says that the two endpoints of the tunnel need to be able to ping eachother, _do_ make sure this is the case before going any further with setting up OpenVPN (and not skip, or ignore that suggestion). Otherwise, you'll just end up debugging "problems" with OpenVPN which simply are problems of the underlying network...

how to enable the encryption and authentication features? do i need to do sth with libssl or libcrpto
Please do read the documentation on the OpenVPN homepage at http://openvpn.sourceforge.net
To enable encryption using static keys, you need to generate a key (as described in the docs from above site) and then use that key (using the "secret" keyword in the config file). If you want to use authentication, things get a little more complicated, but again, the procedure is well documented in the OpenVPN documentation (but I can already tell you that I have not done this myself so far, so there's little use in asking me about details regarding using SSL/TLS authentication).


In short, I've found OpenVPN to be very easy to set up (especially compared to other VPN solutions) on Linux as well as Windows - but as with every non-trivial program, one still needs to read and follow the documentation that is provided.

Martin



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to