I'm having a hard time understanding what exactly it is you're describing, but for the bullet to pass through objects as if astral (which is a can of worms on it's own [more like a brick wall]) it would have to be astral, thus the gun firing it would have to be astral, thus the person firing it would have to be astral. It doesn't fly, on multiple levels.
Okay, I think I get what you mean, that the bullet shoots through things on the astral, in which case it would be mundane or dual-natured, in either case it would be blocked by whatever surface you intend to shoot through, to put it simply. You should also take note that while non-living things like walls won't stop astral objects, other living things, including other people would stop it. Your line of sight couldn't be good like that anyway.