Gas Water Heater Problem

The combustion gas produced by a water heater is suppose to go on the outside of the house.