Both are a no go. Iran is too proud and Pakistan will have bloody diarrhea if a single Indian boot is on Afghan soil and then terror factory will start churning its flagship product.
Ayni can be the perfect non-threatening outpost India can have. Couple of armed and surveillance drones along with a squadron of Mi-17 should be enough to maintain presence in the region but not enough to ruffle Russia or China's feathers.