You have to understand the mentality of the people you are trying to convince. For self respecting nations, needing a foreign military base on their soil to feel secure, would be very insulting. If the govt of India allowed a foreign base in the country, there would be hell to pay. (It won't happen in anybody's wildest dreams.) But that mentality is not shared by everybody. There are thousands of posts by Pakistanis on the forum, yearning to lease Gwadar port to China. For them, it's a great accomplishment, to lease out their sovereignty to stronger and better powers. The USA used to (maybe still do) fly their aircrafts and drones from Shamsi airbase in Pakistan. You would be really amused to see how much they want China to rent Gwadar and base naval vessels there. A Chinese sub docked in Karachi a month ago, and it was a huge celebrator moment for Pakistanis, who hope that it is a first step to a Chinese base on their soil.
So you have to bear that mentality in mind, when you hear Pakistanis expressing concerns about India having a military base in Iran. It doesn't occur to them that
a) That would be very unpleasant for self respecting nations.
b) Other countries can actually build ports and railways and highways for trade and development and prosperity, and militarism is not the be all and end all of our priorities, like it is for them.
c) India has no need whatsoever to build naval bases in Iran to deal with Pakistan. A glance at a map will explain why - it's not like India can use Iran to refuel and replenish ships on the way to Pakistan - Iran is actually farther away than Pak.