As more stranded Australians return home from the Middle East, Foreign Minister Penny Wong confirmed the government was weighing up providing help to nations affected by Iranian retaliatory action.
"Many countries which are non-participants have been attacked by Iran through this," she told ABC's Insiders program on Sunday.
"You would anticipate, as a consequence, that we have been asked for assistance, and we will work through that carefully.
"We are not participating in offensive actions against Iran and we've made clear we would not participate in any ground troop deployment into Iran."
The US and Israel launched strikes on Iran just over a week earlier, killing supreme leader Ayatollah Ali Khamenei.
Iran's retaliatory strikes have hit the UAE, Qatar and Bahrain, among other countries.
Senator Wong said Australian military aid could help provide protection against Iranian drone and missile attacks.
"We have been asked and we will consider it in accordance with (foreign policy) principles," she said.
"If a decision is made, I'm sure that we will be transparent with the Australian people.
"This is not Iraq and we are not the Howard government. We are not asking Australians to accept men and women being deployed into a ground war."
Overnight, more Australians departed from flights from Dubai despite air space briefly being closed due to renewed missile strikes, but the airport reopened soon after.
A flight from Dubai to Melbourne with 151 Australians on board is due to arrive on Sunday afternoon, while another flight will land in Sydney later in the evening.
A further two flights are expected to leave Dubai, pending the United Arab Emirates' airspace remaining open.
More than 1500 Australians have arrived home on flights from the UAE since international services resumed.
Australians have also been bussed out of the Qatari capital Doha, the base for Virgin Australia's partner Qatar Airways, to Saudi Arabia's capital Riyadh.
Three buses carrying 92 Australian citizens, permanent residents and their families have departed.
Assistant Foreign Minister Matt Thistlethwaite said commercial flights were still the best way for Australians to leave the Middle East.
But he admitted the cost of some flights might be a factor in people not being able to return, with some planes departing with large numbers of empty seats.
"We've seen that some of those flights haven't been full, we've seen the cost of tickets," he told Sky News.
Some 115,000 Australians were in the Middle East when the US and Israel launched strikes on Iran.
Australian Travel Industry Association chief executive Dean Long said flights leaving with empty seats should not be a concern.
"The good news is there's not a huge number of people that we should consider stuck in the transit hub," he told AAP.
"The people that are primarily in the Middle East now are choosing to be in the Middle East because that's where they live."
Meanwhile, federal government ministers have downplayed the presence of three Australian defence personnel on a US nuclear submarine when it struck an Iranian ship near Sri Lanka.
Mr Thistlethwaite said it was a normal rotation for the defence crews as part of the AUKUS security pact, but would not say how senior the personnel were.
Opposition frontbencher Claire Chandler said the coalition was supportive of the role Australian defence crews were playing.
"It's fair to expect that our Australian Navy personnel would be working with US counterparts, particularly within the context of AUKUS," she said.