The picture below shows an exterior chase with an extension pipe. An extension pipe will be needed if the top of your chimney is not 3 feet higher than anything wihin 10 feet.
Failure to follow the above specifications, will lead to smoke coming back into your house.