This is subject to what you want to varnish. When it comes to an exterior wood finishes comparison, polyurethane is water-based or oil-based while the varnish is made up of oils, resins, and solvents. Since varnish has more solids, it is less likely to be altered by UV sunlight. However, varnish does give you an extra tint color and needs more layers than polyurethane.