set the tun interface status before the ipv4,
otherwise on OpenBSD the IP is reset