SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-09-30 23:08:48

raksasas
#! Member
Registered: 2013-09-12
Posts: 54

Help setting up OpenVPN

I am having a hard time figuring this out and am betting it is rather simple.  I have looked throught severl guides but It is just not clicking in my head for some reason.  What I do know is that I need to build the cert and key.

What I have:
router running DD-WRT (VPN supported)
netbook running Waldorf (stable)

I see in apt that there are a couple things regarding OpenVPN but unsure of which one to use to build the cert and key or if this is even the correct route for buiding the cert and key

Current goal:
Primary:
vpn into my home network

Secondary
Setup my friends router to to vpn mine to connect our networks

Thanks.

Offline

Help fund CrunchBang, donate to the project!

#2 2014-10-01 05:20:12

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 2,385

Re: Help setting up OpenVPN

I can't speak for creating your own certs and keys.  However, if you are using a VPN service that provides the certs and keys, then simply left-click on the network manager icon in the system tray and select VPN Connections - Configure VPN to set up the appropriate entries.

Offline

#3 2014-10-02 21:59:19

raksasas
#! Member
Registered: 2013-09-12
Posts: 54

Re: Help setting up OpenVPN

KrunchTime, thank you for the attempt. 

I have found that OpenVPN is already installed by default.  So far I have:
---
Make sure OpenVPN is installed

sudo apt-get install openvpn

copy the

sudo cp -r /usr/share/doc/openvpn/examples/easy-rsa /etc/openvpn

Make a backup for the vars file

sudo cp  /usr/share/doc/openvpn/examples/easy-rsa/vars /usr/share/doc/openvpn/examples/easy-rsa/vars,bkup

configure some variables near end of the /etc/openvpn/easy-rsa/2.0/vars file to reflect your configuration like below: -

export KEY_COUNTRY="MY"
export KEY_PROVINCE="WP"
export KEY_CITY="Kuala Lumpur"
export KEY_ORG="My Organization"

---

As for the running the:
sudo /etc/openvpn/easy-rsa/2.0/vars

sudo /etc/openvpn/easy-rsa/2.0/clean-all

sudo /etc/openvpn/easy-rsa/2.0/build-ca

Thier outputs are not making much sense to me.  So I haven't moved on from those yet.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo