LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2014, 11:12 PM   #1
donaldfarkas
LQ Newbie
 
Registered: Sep 2010
Posts: 18

Rep: Reputation: 0
OpenVPN Issue


I'm trying to configure OpenVPN on my CentOS7 64bit.

This is how I went about doing this.

Code: wget http://swupdate.openvpn.org/as/openv...OS7.x86_64.rpm
Code: rpm install openvpn-as-2.0.10-CentOS7.x86_64.rpm

When i went to https://xxx.xxx.xxx.xxx:964/admin
Logged in as admin and the server is off I try to click "Start the Server" and i get an error.
Attached Thumbnails
Click image for larger version

Name:	ha1ouin.png
Views:	14
Size:	36.1 KB
ID:	16884  
 
Old 11-18-2014, 12:28 AM   #2
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Rep: Reputation: 24
Donald,
Is there any reason why you have installed OpenVPN using rpm?
Unless there is a very good reason you should always install using yum
It's available in the epel repo.

$ yum info openvpn
Available Packages
Name : openvpn
Arch : x86_64
Version : 2.3.2
Release : 4.el7
Size : 419 k
Repo : epel/x86_64
Summary : A full-featured SSL VPN solution
URL : http://openvpn.net/
License : GPLv2
Description : OpenVPN is a robust and highly flexible tunneling application that
: uses all of the encryption, authentication, and certification
: features of the OpenSSL library to securely tunnel IP networks
: over a single UDP or TCP port. It can use the Marcus Franz Xaver
: Johannes Oberhumer's LZO library for compression.

So if I were you I'd start again and undo what you have done already if that's possible.

then as su do a

yum install openvpn

then read the manual

man openvpn
 
Old 11-18-2014, 06:17 AM   #3
linuxgurusa
Member
 
Registered: Mar 2008
Location: Namibia, Swakopmund
Distribution: Redhat, Fedora, Centos, ClearOS, Mandrake
Posts: 151

Rep: Reputation: 29
Is there any reason you are not using command line ?
ONLY A PERSONAL note when I say Linux is made to work in command line, that way you learn so much quicker and understand better than clicking buttons in a GUI interface.

Now that this is out of the way ...

It is very simple indeed.

DO the " yum install openvpn" step and see if it installs 100%

To verify do the command

rpm -qa | grep -i vpn

This should give you all programs with the word "vpn" in them. You must see the main binary installed, called openvpn-2.3 blah blah etc.
 
Old 11-18-2014, 02:45 PM   #4
donaldfarkas
LQ Newbie
 
Registered: Sep 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Click image for larger version

Name:	Capture.JPG
Views:	17
Size:	24.6 KB
ID:	16887

It doenst seem to find the package.
 
Old 11-18-2014, 05:12 PM   #5
donaldfarkas
LQ Newbie
 
Registered: Sep 2010
Posts: 18

Original Poster
Rep: Reputation: 0
I figured it out.

CentOS 7 does not include ifconfig which is located in the net-tools package. OpenVPN requires ifconfig in order to properly operate.

so i installed ran Code: yum install net-tools

Why do you guys not recommend using rpm vs yum for openvpn?

Last edited by donaldfarkas; 11-18-2014 at 08:31 PM.
 
Old 11-18-2014, 09:20 PM   #6
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Rep: Reputation: 24
man yum

DESCRIPTION
yum is an interactive, rpm based, package manager. It can automatically
perform system updates, including dependency analysis and obsolete pro‐
cessing based on "repository" metadata.


It can automatically perform system updates as it is a superset of rpm.
 
Old 11-19-2014, 07:38 AM   #7
donaldfarkas
LQ Newbie
 
Registered: Sep 2010
Posts: 18

Original Poster
Rep: Reputation: 0
Can someone help me find out which repo I need to add to my repo list for openvpn?
 
Old 11-19-2014, 02:20 PM   #8
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Rep: Reputation: 24
carefully reread my first reply to you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenVPN connectivity issue.. a.abdulna Linux - Newbie 1 04-23-2013 09:03 AM
[SOLVED] OpenVPN issue qwertyjjj Linux - Software 18 01-07-2010 08:06 AM
OpenVPN Issue greenb1rd Linux - Networking 5 11-06-2009 11:25 AM
openVPN issue deibertine Linux - Server 3 09-24-2009 09:59 PM
KVPNC to OpenVPN issue waelaltaqi Linux - Software 0 01-09-2007 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration