Find the answer to your Linux question:
Results 1 to 2 of 2
hello, iam using openvpn-2.0.9 and while setting the openvpn iam getting oen error......... i am in openvpn source directory and i changed to easy-rsa...(home/mallik/openvpn/easy-rsa) ii issue the command s ./vars ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    107

    doubt on vpn


    hello,

    iam using openvpn-2.0.9 and while setting the openvpn

    iam getting oen error.........

    i am in openvpn source directory and i changed to easy-rsa...(home/mallik/openvpn/easy-rsa)

    ii issue the command s ./vars
    ./clean-all
    ./build-ca

    for all these commands when i issued , it shows me a error called "you must define KEY_DIR"

    can anybody tell me the problem


    Thanks in advance

  2. #2
    Linux Enthusiast
    Join Date
    Apr 2004
    Location
    UK
    Posts
    721
    That error suggests that $KEY_DIR is not getting set when you run ./vars. Line 30 of my vars script has the following line:

    Code:
    export KEY_DIR=$D/keys
    Can you take a look in your vars file and see if there is a similar line. If there is can you post it and a couple of lines of context here so we can take a peek.

    Chris...
    To be good, you must first be bad. "Newbie" is a rank, not a slight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •