The militants targeted the check post in the restive Badabher area, which has witnessed several terrorist attacks in recent years.
The militants, who were armed with automatic weapons, exchanged fire with policemen for about half an hour.
Officials said one of the militants was killed in the gun battle.
Additional security forces rushed to the site and cordoned off the area.