I don't care if I have to add libraries or build whatever on my end. I'm just hoping since OS X has the foundations of Unix that there's some way to run a Linux or BSD client. Specifically, we need a VPN client that's Mac compatible, and ShrewSoft.com has one for Windows, then another for Linux/BSD, but not for Mac. I'm wondering if I can hack-n-stall it on OS X Lion.

  • 1
    Why wouldn't you just use the built-in IPsec client? – Zoredache Feb 12 '12 at 9:19
  • Doesn't support IPSec over UDP which we need, just TCP. – Mark A. Donohoe Feb 13 '12 at 1:07

Though it is generally possible to port software from Linux over to a mac, there are some exceptions. Software that requires or links into the kernel generally need to a lot of work to be ported, since they require building a kernel driver. VPN software almost always falls into this category since it needs to hook into the networking stack.

  • Well apparently they do have an 'experimental' version they built for Mac, but while I can connect to the VPN using it, I can't actually connect to any of the machines once it's logged on, so there's definitely something screwy going on. Still, you get the vote because of your info about the kernel. After all, while my example was about VPN software, the actual question was about running linux apps on a Mac, and that will help others reading this. – Mark A. Donohoe Feb 13 '12 at 1:06

Many command line applications compile fine on OS X. Since many of these tools have a larger then usual amount of hardware interaction you may need to edit the config files.


I know this seems counter-intuitive, but have you thought of running the Windows version of the VPN client, not in a virtual machine, but with Wine for OS X ?

Wine can be a bit of a hit-or-miss solutions at times: some programs won't run no matter how much you cajole them, many run more solidly than they do on Windows. Especially if, as is often the case, the Windows client is more mature than the Linux/BSD version, it may be something worth taking a look at.

  • Pretty sure that won't work because Wine runs Windows apps in 'bottles' or miniaturized virtual Windows instances if you will (to over-simplify it.) As such, it doesn't integrate with the core part of OS X networking that it would nee to to make this work. – Mark A. Donohoe Feb 13 '12 at 5:03
  • MarqueIV : Not sure where you're getting your info. Wine uses the native Unix network stack, and WineHQ lists no less than 214 network applications that are "officially" supported at the platinum level. And a quick Google search showed at least one VPN client that is at least semi-sucessful under Wine. – Dmitri Feb 13 '12 at 16:41

I have never tried it but it seems possible with Fink:

  • 1
    This is not what the OP has asked for. The fact that Fink provides Mac OS X versions (ports) of some applications, doesn't mean that you can run any Linux application on a Mac. What's needed is something like the Linux Binary Compatibility provided by FreeBSD or Wine which lets you run Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. – Cristian Ciupitu Jun 30 '14 at 14:37
  • What he said! :) – Mark A. Donohoe Jun 30 '14 at 18:56
  • Sorry, I got the impression that you can add your own linux packages to fink. Anyway, there are OVER 1000 programs in Fink. With a bit of luck one of them could be a VPN. – Ultralisk Jul 1 '14 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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