The Israeli military has closed a Gaza border crossing and restricted Palestinian fishermen in the territory after militants fired rockets into Israel during President Obama’s visit.

Israeli Prime Minister Benjamin Netanyahu and Defense Minister Moshe Yaalon instructed the army to close the border crossing used to transfer goods and reduce the permitted fishing zone in the seaside territory from six to three miles offshore.

Army official Guy Inbar said Friday that the restrictions will remain in place until Israeli officials decide to lift them.

At least two rockets landed in a southern Israeli town Thursday, causing damage but no injuries.

An al-Qaida-inspired group says it launched the rockets to protest a visit by Obama.

It was the second instance of Gaza rocket fire since a November ceasefire.

2013 FOX News Network, LLC.