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. You can view the patch at his Github repository.

iPhone

Rob Lemley has provided me with a build of the patched OpenVPN for the iPhone/iPod touch. Note that this is a command line only application. You will also need OpenSSL and libpcap available via Cydia to make it work. The build can be downloaded here and is offered as-is, without any warranty.

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.

Contact

friedrich_dot_schoeller_at_gmail_dot_com. Feedback is welcome.