Experiments with Linux tun driver based on http://backreference.org/2010/03/26/tuntap-interface-tutorial/