Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to install OpenVPN (configure, really) on Ubuntu 8.04 server, and am having problems with the initial configuration. I have read several howtos about the initial process, but they all seem to be outdated. For example, the easy-rsa directory has a 1.0 and 2.0 subdirectory, now, which is not indicated in the current instructions.
Can anyone provide some up-to-date guidance on how to initially configure OpenVPN? Some specific questions I have:
Where are the commands supposed to be issued from? /etc/openvpn/easy-rsa/ or /etc/openvpn/easy-rsa/2.0/
Why does the ". ./vars" command not seem to do anything?
What does the "export EASY_RSA="`pwd`"" line do? (or what is it SUPPOSED to do?)
How can I ensure the vars file is sourced appropriately?
I'm reasonably new to linux/ubuntu, but I have come a long way in the last 6 months. I'd appreciate step-by-step thoughts, but a "big picture" might also be helpful.
BTW, ultimately, I want to be able to access my home network files while on travel (samba shares), AND be able to use my home server as a web proxy while on the road. Walk then run, though... any thoughts on getting OpenVPN working?
I figured most of this out, but I still have a lot of questions about bridging.
Just to close the loop on this... First, I copied all the files from the /2.0 subdirectory into the /easy-rsa directory. I also created a /keys subdirectory (KEY_DIR) inside of /easy-rsa.
I edited the vars file to include all my parameters, and edited the EASY_RSA value from `pwd` to
Then, for every script I wanted/needed to execute, I added
to the beginning of the script, and executed the scripts from within the /easy-rsa directory. This addition to the scripts ensured that each script included all the appropriate defaults for the key generation scripts. Keys were then created inside the /keys directory.
From there, each step in the OpenVPN HOWTO worked great for me. I'm still not sure why my terminal command . ./vars didn't work quite right.