Jun 26, 2009 Hi eodwastaken, Would you be so kind to provide a tutorial for installing Tinc on a Mac? I've been struggling with this task for a while and could find any guidance whatsoever on the web so far (Tinc's own documentation is a joke). I have done all of these steps so far. Nov 21, 2015 - Hi~ I have seen the roadmap about water that will support for OSX, did you already have any idea to support it? I found a project tuntaposx, but I.
This repository is unmaintained: You should use the more comprehensive and well maintained water library.
NOTE: This package is new and should be considered unstable, in terms of both API and function.
tuntap is a native wrapper for interfacing with TUN/TAP network devices in an idiomatic fashion.
Currently supported are Linux and Mac OS X.
Configuration
The configuration required to open a TUN/TAP device varies by platform. The differences are noted below.
Linux
When creating a TUN/TAP device, Linux expects to be given a name for the new interface, and a new interface will be allocated for it by the kernel module. If left blank, one will be generated
(tun|tap)([0-9]+)
.Mac OS X
On startup, the Mac OS X TUN/TAP kernel extension will allocate multiple TUN/TAP devices, up to the maximum number of each. When creating a TUN/TAP device, Mac OS X expects to be given a path to an unused device. If left blank, this package will attempt to find the first unused one.
Additionally, unlike Linux, a TUN/TAP device is not 'ready' on OS X until it has an address assigned to it. Any attempt to read from/write to the interface will fail with ErrBusy. It is safe to backoff and try again until a successful operation.
Examples
![Tap Tap](http://en.loxch.com/docs/install/html/_images/macosx_tap_2.png)
See the examples directory.