tun device handling is now in place