Maybe the code should do a preliminary test on wether tun is available and if not, let the user know it needs to load the tun module.