Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm wondering what would be the best vpn solution for a linux server with windows, linux, and osx clients. I'm currently using openvpn but I find it difficult to set up and the windows client has given me more headaches than manually setting up a mailserver for the first time.

I have specific requirements for the clients. Some clients need to send their traffic through the vpn (laptops). Others only need to be able to be seen on the vpn but shouldn't be sending their traffic through the vpn (like the web server).

I would like to be able to use the Windows and OSX built in vpn clients if possible.

Are there other options available other than openvpn or am I doing something horribly wrong with openvpn?


locked by HopelessN00b Dec 5 '14 at 5:41

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

You may find this other Q helpful:… – Leon Sodhi May 1 '09 at 19:57

OpenVPN is great. The client is not built into the OS though but I guess you can work that out. And its activly maintained so you can be sure that it will continue to work on all three OSs. If you could please add the problems you are having with openVPN? We have set up our VPN so we can do printing at home or remote connect to all our servers without them having to have any ports open to the public.

+1 for just using OpenVPN. It's by far and away the easiest and most powerful VPN system I've used. IPSec is a configuration and interoperability nightmare. – womble May 1 '09 at 8:57
It's idd very good VPN software... but when configuring inside an OpenVZ container, it can take some time to figure out how to route the traffic, but hey, in the end, it works like a charm! – Sander Versluys May 1 '09 at 9:05
@epochwolf: you probably want to buy a book about openVPN.. There are great book about it out there.. – Thomaschaaf May 1 '09 at 10:43
Please comment why you don't like my decison – Thomaschaaf May 1 '09 at 17:54
There's also an OpenVPN GUI you can use under windows to manage configs/connections. – Scott May 5 '09 at 12:55

Windows and OS X have built in support for L2TP/IPsec, for which there are many server daemons available.

The problems I've had with L2TP/IPsec is that frequently laptops end up behind random routers that don't pass L2TP. – pjc50 Jul 24 '09 at 9:46

You'll probably want to look into PPTP. Windows and Linux both have servers for it and just about every OS has a native client (most phones and other devices too).

PPTP is not a secure protocol, so be sure you balance the pros and cons befor you decide on PPTP. – Bryan Rehbein May 1 '09 at 18:31

If you choose OpenVPN, server and user settings etc handling might be a bit of hassle. So you might be interested to use one of these as the main OpenVPN server base:


I'll say the same thing here that I said for :

xl2tpd is in Debian. It's a server for L2TP IPSec VPN. Windows supports L2TP natively. Alternatively, you can use OpenSwan (also in Debian) to set up IPSec.

I know you want to focus on built-in clients, but take a look at OpenVPN just the same. It's cross-platform and easy to set up and deploy. It's also extremely secure and flexible at the same time. I tried to set up xl2tpd and went with OpenVPN instead.


Did any of you read the original post? He is already using openvpn. I'd suggest you check out pptp and give the security concerns some consideration.

It's like when someone asks how to setup a telnet daemon and everyone responds, "use ssh!" OpenVPN really is one of the best solutions out there for this and supports Linux, BSD, OSX, and Windows clients with little setup. The fact that it's not working is sorta strange and people naturally are trying to fix the problem rather than move to a less capable system. I've tried most of them and vastly prefer OpenVPN. – kashani Jun 15 '09 at 5:00

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