Nmap scan issues

In terminal do ifconfig make sure tun0 is up, has happened to me more often than I care to admit that I either forgot to connect to the VPN or it crashed…