tunemu - Tun device emulation for Darwin

tunemu allows programs that require tun devices to run on Darwin (OS X) without kernel support.

How

tunemu uses the kernel ppp driver to create a ppp device. It then reads packets from the ppp instance and writes packets to the loopback device using libpcap.

Source

tunemu is part of Hans.

Supported programs

Hans
In order to build Hans with tunemu support, first run "make tunemu.o" and then "MODE=tunemu make".
iodine
Get the pached iodine and build it as usual. You can view the diff.
OpenVPN
  • Get the pached OpenVPN.
  • Run "./configure --enable-tunemu".
  • Run "make".
Thanks goes to Rob Lemley who has improved the patch by adding autoconf support. There is also a newer version of the patch available at his Github repository.

iPhone

Rob Lemley has built OpenVPN for the iPhone. You can get the binaries here.

A build of Hans for the iPhone/iPod touch can be downloaded here and is offered as-is, without any warranty. It needs libpcap available via Cydia. The binary is outdated.

Contact

friedrich_dot_schoeller_at_gmail_dot_com. Feedback is welcome.