Act local, think global
Overcoming national interest is perhaps more complicated. Clearly, countries have an interest in vaccinating their most vulnerable populations first. But well before everyone is vaccinated, it becomes more efficient for countries to start vaccinating their neighbours (the countries they are most exposed to through movements of people and trade).
Disappointingly, rich countries today behave as though they will reach 100% vaccination rates before they give away a single dose, with many having bought well in excess of what is needed for 100% coverage.
Nevertheless, overcoming the profitmaximising interest of big pharma and the national focus of governments is not a pipe dream. The world has done it before.