I used 4" flex insulated duct. Think I had to run it ~20' to get to the gable end of the house but it works great. I did notice the unit is a bit louder than it was with no ducting as I imagine the flex creates some back pressure. If I had it to do over I would use hard duct as much as I could then use some flex on each end.
Either way, the broan unit I bought produces less than half the noise the 1972 unit did and it removes all steam in the bathroom.
Add a timer for the fan and you'll wonder what life was like before you had the timer.