

The following is with iproute2-2.6.34: # ip tuntap help Thus, installing tunctl (UML utilities) or OpenVPN just to be able to create tun devices is no longer needed.

Update : Thanks to this post, I've learned that recent versions of iproute2 can (finally) create tun/tap devices, although the functionality is (still?) blissfully undocumented. Link to the source tarball described in the article: simpletun.

Please report any bug or error you find in the code or otherwise in this article. Also, the description is by no means a definitive reference on the subject, but rather the result of my experimentation. If you want to be serious, you'll have to make it more robust and integrate it with other code. Foreword: please note that the code available here is only for demonstration purposes.
