I get it. Not the best place for fuel, atop the roof. I need a minimum of 10 extra gallons and don't have a larger/auxiliary tank.
Due to weight and sloshing would you advise to mount them towards the front or the rear of a full length roof rack. Why?
I've done both with no noticeable differences. I go heavy on the roof rack so it all comes down to how I'm loading up with also taking into account weight distribution. I usually only carry five gallons of gas max, but also have had water up top too.
I tend to default to the rear of the vehicle so I can access them easier from the tailgate. I also like the 10L or 2G cans because they are easier to work with.
This old shot from the early 90's was five gallons of gas up top on my X-tra cab SR5. I had to put the gas upright when full and it was sketchy so I would empty it as soon as possible.
Canyon de Guadalupe Baja
2x 10L cans up top in front.
2x 10L Fuel and 2x 10L Water up top on the rear.
These days I'm only running 2x Two gallon RotoPax
My last trip to Baja I went with 2x 10L in the rear.
In Baja my FJ was our chase vehicle and we were carrying 25 gallons of gas on the roof!