Security forces and U.N. peacekeepers have been battling rebels who have occupied towns and roads outside the capital.