As to the sound of gunfire. Tough toenails.
As to the range from 'X', me not knowing the terrain, I deduce that you were entirely confident that no bystander would be injured due to them being down range. Kind of like shooting a beer cans at the base of a cliff or something. No chance for anyone to get behind the target area.
As to the ranger(s), they could have been problematic if they desired to be. But, it sounds like you know enough about the law that they did not want to get into any losing legal battle.
I would, personally, inform the rangers that I would be shooting and on what dates slant times. Just so they know, kind of like giving them your hiking/back packing itinerary in case you are overdue. Ya never know, they may want to join you....next time.
Sounds like you handled yourself.
Statewide firearm shooting ban....on national forest land? Really? Or, is it due to the wildfires.....ya shooting tracers or something?