It depends on the car.
The volume of the internal car determines the acoustic impedance. The distance from the closed termination (windscreen/firewall) to your listening position (seat) determines the first audible standing wave. Generally facing the sub back wards gives the best performance, again it depends on the car. If opening the boot makes the sub louder in the listening position then it is better to face the sub forward.