LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does anyone know a good linux VPN? (https://www.linuxquestions.org/questions/linux-newbie-8/does-anyone-know-a-good-linux-vpn-756391/)

qwertyjjj 09-19-2009 09:46 AM

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?

Meson 09-19-2009 10:30 AM

OpenVPN

qwertyjjj 09-19-2009 10:41 AM

Quote:

Originally Posted by Meson (Post 3689720)
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?

qwertyjjj 09-19-2009 11:23 AM

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?

prasanta 09-19-2009 11:56 AM

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

qwertyjjj 09-19-2009 12:07 PM

Quote:

Originally Posted by prasanta (Post 3689799)
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]#


qwertyjjj 09-19-2009 06:13 PM

anyone have any ideas?

qwertyjjj 09-20-2009 07:12 AM

Quote:

Originally Posted by qwertyjjj (Post 3690059)
anyone have any ideas?

?
yum install openvpn should do the job but it doesn't seem to install the easy-rsa folder?

elfoozo 09-20-2009 11:05 AM

Quote:

Originally Posted by qwertyjjj (Post 3689806)
[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.

qwertyjjj 09-22-2009 12:15 PM

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.

teebones 09-22-2009 01:09 PM

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.

qwertyjjj 09-22-2009 04:02 PM

Quote:

Originally Posted by teebones (Post 3693158)
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...


All times are GMT -5. The time now is 01:53 PM.