LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2009, 09:46 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
Does anyone know a good linux VPN?


Does anyone know a good linux VPN service that I could install on my server to allow users to connect to it?
I don't want them to connect to the server as such but just want them to appear that they have a country specific IP address. I currently do this with a proxy server but that is for HTPP only.
Will they need client software to run this?
 
Old 09-19-2009, 10:30 AM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
OpenVPN
 
Old 09-19-2009, 10:41 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Meson View Post
OpenVPN
Does the client need some software to connect? If so, what's best?
Most people won't know how to configure a VPN.

When the client connects by VPN, are all their requests just passed on from my server through outgoing ports?

Quote:
Generate the master Certificate Authority (CA) certificate & key

In this section we will generate a master CA certificate/key, a server certificate/key, and certificates/keys for 3 separate clients.

For PKI management, we will use a set of scripts bundled with OpenVPN.

If you are using Linux, BSD, or a unix-like OS, open a shell and cd to the easy-rsa subdirectory of the OpenVPN distribution. If you installed OpenVPN from an RPM file, the easy-rsa directory can usually be found in /usr/share/doc/packages/openvpn or /usr/share/doc/openvpn-2.0 (it's best to copy this directory to another location such as /etc/openvpn, before any edits, so that future OpenVPN package upgrades won't overwrite your modifications). If you installed from a .tar.gz file, the easy-rsa directory will be in the top level directory of the expanded source tree.
I have installed using yum install openvpn but cannot find the easy-rsa directory. Any ideas?

Last edited by qwertyjjj; 09-19-2009 at 11:23 AM.
 
Old 09-19-2009, 11:23 AM   #4
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Generate the master Certificate Authority (CA) certificate & key

In this section we will generate a master CA certificate/key, a server certificate/key, and certificates/keys for 3 separate clients.

For PKI management, we will use a set of scripts bundled with OpenVPN.

If you are using Linux, BSD, or a unix-like OS, open a shell and cd to the easy-rsa subdirectory of the OpenVPN distribution. If you installed OpenVPN from an RPM file, the easy-rsa directory can usually be found in /usr/share/doc/packages/openvpn or /usr/share/doc/openvpn-2.0 (it's best to copy this directory to another location such as /etc/openvpn, before any edits, so that future OpenVPN package upgrades won't overwrite your modifications). If you installed from a .tar.gz file, the easy-rsa directory will be in the top level directory of the expanded source tree.
I have installed using yum install openvpn but cannot find the easy-rsa directory. Any ideas?
 
Old 09-19-2009, 11:56 AM   #5
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
Quote:
I have installed using yum install openvpn but cannot find the easy-rsa directory. Any ideas?
It is located in,

/usr/share/openvpn/easy-rsa

Regards,

--
Prasanta
 
Old 09-19-2009, 12:07 PM   #6
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by prasanta View Post
It is located in,

/usr/share/openvpn/easy-rsa

Regards,

--
Prasanta
lol - that's what the instructions already said!

Quote:
[root@localhost usr]# locate easy-rsa
[root@localhost usr]# cd /usr/share/openvpn/easy-rsa
-bash: cd: /usr/share/openvpn/easy-rsa: No such file or directory
[root@localhost usr]# locate openvpn
/usr/share/doc/dnsmasq-2.50/openvpn
/usr/share/doc/dnsmasq-2.50/openvpn/README
/usr/share/doc/dnsmasq-2.50/openvpn/dhclient-enter-hooks
/usr/share/doc/dnsmasq-2.50/openvpn/dnsmasq.patch
/usr/share/doc/selinux-policy-2.4.6/html/services_openvpn.html
/usr/share/logwatch/default.conf/services/openvpn.conf
/usr/share/logwatch/scripts/services/openvpn
[root@localhost usr]#
 
Old 09-19-2009, 06:13 PM   #7
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
anyone have any ideas?
 
Old 09-20-2009, 07:12 AM   #8
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by qwertyjjj View Post
anyone have any ideas?
?
yum install openvpn should do the job but it doesn't seem to install the easy-rsa folder?
 
Old 09-20-2009, 11:05 AM   #9
elfoozo
Member
 
Registered: Feb 2004
Distribution: Debian Jessie
Posts: 259

Rep: Reputation: 32
Quote:
Originally Posted by qwertyjjj View Post
[root@localhost usr]# locate easy-rsa
[root@localhost usr]# cd /usr/share/openvpn/easy-rsa
-bash: cd: /usr/share/openvpn/easy-rsa: No such file or directory
[root@localhost usr]# locate openvpn
/usr/share/doc/dnsmasq-2.50/openvpn
/usr/share/doc/dnsmasq-2.50/openvpn/README
/usr/share/doc/dnsmasq-2.50/openvpn/dhclient-enter-hooks
/usr/share/doc/dnsmasq-2.50/openvpn/dnsmasq.patch
/usr/share/doc/selinux-policy-2.4.6/html/services_openvpn.html
/usr/share/logwatch/default.conf/services/openvpn.conf
/usr/share/logwatch/scripts/services/openvpn
[root@localhost usr]#

Did you try "updatedb" before issuing that locate command?

locate doesn't automagically know about files just because you installed them.
 
Old 09-22-2009, 12:15 PM   #10
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Any other recommendations other than OpenVPN?
I have been having immense trouble getting traffic to go from the client to the server depsite spending 2 days on configuration and on openvpn mailing lists.

Last edited by qwertyjjj; 09-22-2009 at 12:21 PM.
 
Old 09-22-2009, 01:09 PM   #11
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
freeswan is another, although it isn't updated for many years, it's still a decent vpn solution.
It uses a different approach to vpn communication as to openvpn.
 
Old 09-22-2009, 04:02 PM   #12
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by teebones View Post
freeswan is another, although it isn't updated for many years, it's still a decent vpn solution.
It uses a different approach to vpn communication as to openvpn.
Does that come with a Windows client version, do you know?
Can't find one so far...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
VPN client - destination unreachable, all else good (New install). MikeOfAustin Linux - Networking 2 04-07-2007 07:49 PM
Which is good for Web / VPN / File server? waimichael Linux - Distributions 5 04-09-2005 06:19 AM
nedd a breakdown of vpn, or a good newbie resource Brain Drop Linux - Networking 0 10-04-2003 07:47 PM
Good VPN solution tarballedtux Linux - Security 1 11-01-2002 08:45 AM


All times are GMT -5. The time now is 11:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration