I dismounted the drive from the router connected it to the computer an ran VeraCrypt as administrator. Then the encrypted file was mounted. It would perhaps haved worked as well with the drive still connected to the router.