How to roast chestnuts on an open fire?
In Spain, the traditional way is using something like this:



Or a pan with holes. The big day to do it is called Magosto and it's celebrated on 11/11, but it varies from town to town. It's one of the closest things to a barbecue, you first roast chorizos, then you roast chestnuts.

If you don't have access to those tools, your best option is to put them close to the fire. Make a small cut in almost each chestnut (to release moisture). The ones without the cut will pop and tell you when they start to be done. Start checking for doneness at that point.

Maybe you already knew about the cut, but I know some people don't roast at home because they don't know it can be done in a regular oven if the cuts are in place to avoid the chestnuts popping wildly.