Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a small VPS which is based on OpenVZ and TUN/TAP is enabled. I am trying to set up a small VPN but I am running in some problems.

The first thing I have tried is to set up the VPN using PPTP, but I came to the conclusion that it does not work with OpenVZ.

Now my ISP recommended OpenVPN, but when looking at the tutorial I have to pay for the service if the network grows bigger than 2 clients. Another downside with OpenVPN I think is that you need to download a whole package with installer to use it.

So my question is what the best way is to achieve the VPN that I am looking for.

My server is linux based (debian / centos / etc), and the computer I use to connect is a Windows 7 machine.

share|improve this question

3 Answers 3

up vote 0 down vote accepted

Well, it should be possible to achieve a PPTP vpn to your OpenVZ server. But I have bad experiences with PPTPD (you will have to install a package for the PPTP deamon too!) and a lot of good experiences with OpenVPN and the costs are tiny: 5USD for a extra concurrent connection. You could add as much clients as you want, when you stay under 3 concurrent connections, you don't need to pay anything. I recommend installing OpenVPN instead of PPTPD since OpenVPN requires no set-up on a client, just download an executable and you're good te go. Installing and troubleshooting OpenVPN is also a lot easier, since you're dealing with a nice webinterface.

share|improve this answer
    
Ok this is nice to know. But I see a lot of version of openvpn. I see that there are 2 websites: openvpn.se and openvpn.net. Which one should I go to to download the windows client. –  Saif Bechan Sep 25 '10 at 13:10
    
I also see 2 different version on openvpn.net. I see conmmunity software and access server. Which one is the one I should use. I see that the community server is only free for 30 days. –  Saif Bechan Sep 25 '10 at 13:14
    
You should get OpenVPN Access Server. You can download it here: openvpn.net/index.php/access-server/download-openvpn-as.html –  Karst Lok Sep 25 '10 at 22:16

You can run OpenVPN on OpenVZ, a good provider should be able to configure it. PM and I can send you some details.

Heck I don't know if it is okay to refer you from here. I should find out soon enough

http://secure.quickweb.co.nz/system/aff.php?aff=015

share|improve this answer
    
Thank you for the quick response and it is ok to post links here. There is no PM here. But I have my VPS already, so I do not need to switch providers, I need some details on setting up the VPN. –  Saif Bechan Sep 25 '10 at 12:38
    
Your provider has to setup the host system to allow the tunneling to work. If you use the Community version you can probably host as many as you system has the horsepower for. –  vfclists Sep 25 '10 at 16:14
    
If your provider is competent enough they be able to setup the host system to allow the tunneling to work. If you use the Community version you can probably host as many as your system has the horsepower for. There are no charges on the Community edition If you have the time to be patient enough to read the docs you should be fine. –  vfclists Sep 25 '10 at 20:47

I have just finished installing PPTP VPN in openvz VPS, using Centos 5.5.. it works perfect for me... just use webmin and poptop PPTPD. with just few modification.

share|improve this answer
    
Is there a guide on doing this somewhere online? –  Saif Bechan Oct 16 '10 at 14:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.