R35p3c7 7h3 !n7311!93n7,h31p wh0 c4n’7 4ff02d…. [blog.namran.net]
First assuming you already had rpmforge yum repos.
Just need to get open rpm installed..
yum install openvpn -y
Now start configure it :
get into the OpenVPN configuration folder
cd /etc/openvpn/
Generate the secret key at the server ..
(this file shall be transferred to each client too..)
openvpn --genkey --secret ta.key
Now get the rest of cert and generate appropriate keys/pair.
The tools are provided under the following directory
cd /usr/share/doc/openvpn-2.0.9/easy-rsa/
make all the script there it executable ..
chmod a+x *
Prepare the output keys folder
mkdir keys ./vars
Clean it up..
./clean-allStart building server key first ..
./build-ca ./build-key-server home.namran.net
Okay .. now try to add a client cert to it..
./build-key nbnamranSome encryption/decipher thing..
./build-dhNow copied the generated keys/cert into openvpn configuration folder.
cp /usr/share/doc/openvpn-2.0.9/easy-rsa/keys/* /etc/openvpn/
Time to config the configuration file ..
Continue reading this post…
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Feb | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||