Pakistani troops targeted forward posts with mortar shells and small arms along the Line of Control (LoC) in Jammu and Kashmir's Poonch district on Thursday, officials said.
The cross-border firing started around 7 am in Krishnaghati sector of the district and continued for several hours, prompting strong response from the Indian side, a defence official said.
The firing stopped around 5.30 pm, he said.
There have been no reports of any injury or casualty on the Indian side.
Mohammad Muzir Mugal, a local, said: "I was at the flag hoisting ceremony. I heard firing from Pakistan's side when I was returning from the ceremony."
"I just want to tell Prime Minister Narendra Modi that if this kind of violations takes place on the Independence Day, then a proper reply should be given to them," he added.
Chamanlal, another resident of Nangi Tekri area, said: "Pakistan should understand that we are not like the old India that will stay quiet over these violations."