TorGuard Account Area

Add to Favourites    Print this Article

Error: Cannot allocate TUN/TAP dev dynamically

TG Client comes with built in TUN/TAP drivers that allow your VPN connection to be created. However if TG Client is unable to load these drivers you may see an error like "Cannot allocate TUN/TAP dev dynamically" in the OpenVPN log.

In most instances this error is caused by the VPN app having incorrect permissions. This can usually be solved by making sure TorGuard Client is installed in your Applications folder. TG Client is unable to correctly run from some locations (such as your Downloads folder, or your Home directory if FileVault is on). TG Client can be moved to the Applications folder like so:

  1. Quit TG Client if it is running.
  2. Drag the TG Client application to your Applications folder.
  3. Open your Applications folder and double-click onTG Client to start it.
  4. You may be asked for an Administrator's username and password if TG Client has detected its permissions needed updating.

If TG Client is already installed in your Applications folder, try re-installing the latest version.. This can be done like so:

  1. Quit your old copy of TG Client if it is running.
  2. Move your old copy of TG Client to the trash.
  3. Download TG Client from the downloads page.
  4. Open the TG Client .dmg file in your Downloads folder.
  5. Drag TG Client to your Applications folder.
  6. Eject the TG Client disk image.
  7. Launch TG Client from your Applications folder.

If you are still getting the error, it's possible that other VPN clients (such as Cisco AnyConnect) may be interfering with TorGuard's TUN/TAP drivers. If you have any such clients installed, try temporarily quitting and/or uninstalling them to see if that solves the problem.

Finally, it's possible there may be a temporary conflict. Try restarting your computer and connecting TG Client again.