tunctl is used to create and delete TUN/TAP devices. The usage for creating a device is: tunctl [-b] [-u owner] [-t device-name ] [-f tun-clone-device]
The usage for deleting a TUN/TAP device is: tunctl -d device-name [-f tun-clone-device] More precisely, the -d switch makes the device nonpersistent, meaning that it will disappear when it is no longer opened by any process. The -f switch works as described above. |