Indonesian police and immigration officials were Monday trying to convince 120 Australia-bound asylum seekers to disembark from a tanker that rescued them from their sinking boat, police said.

The ship sailing from Australia to Singapore picked up the asylum seekers, all believed to be men from Afghanistan and Iran, in Indonesian waters Sunday, said Banten province maritime police chief Budi Hermawan.

An AFP reporter saw some of the asylum seekers weeping and screaming hysterically as Indonesian officials boarded the vessel docked in the port of Merak in western Java.

"We do not want to get down here. We all want to go to Australia," one man shouted in English.

Another began kicking, crying and screaming as police tried to pull him off the Singapore-registered MT Hermia by the arms.

"The men are refusing to get off the boat. The police, immigration and the International Organization for Migration are trying to negotiate with them to get them off," Hermawan said.

Police were seen detaining four men of Indonesian appearance, believed to be the crew of the sinking boat.

About 100 other police stood by, ready to escort the asylum seekers onto buses, while dozens of officials tried to speak with the men.

Hermawan said authorities had organised accommodation at a nearby hotel for the men, should they disembark.

National immigration spokesman Maryoto Sumadi said he believed the men were from Afghanistan and Iran.

"But we are not sure because we haven't been able to do the identification process," he said.

The vessel is docked at Merak, where in 2009 scores of Australia-bound Sri Lankan asylum seekers refused to get off a boat in a six-month standoff with Indonesian authorities.

Indonesia has long been a transit country for illegal migration to Australia.

In December, a boat carrying around 250 mostly Afghan and Iranian asylum seekers sank in Indonesian waters en route to Australia's Christmas Island, with only 47 surviving.

Indonesia is not a signatory to the UN refugee convention and often jails asylum seekers awaiting refugee status.

Asylum seekers are a hot political issue in Australia and dominated national elections in 2010 due to a record number of boat arrivals from Asia.