Zero at 25m. Point of Aim (POA) should be center of above target. Point of Impact (POI) should be 1.5-2 inches below, as indicated on target above. This will give you a POA and POI for 100m. (This will work for metres or yards as they are very close in size.) 100m zero will give hits out to 300m in a combat effective zone (8 inches) and hits in at bad breath distance. However, you will have to use hold overs in close. Height over bore relation, etc. With the 100m zero, all your holds will be over or above the POI. This is easy to do and remember, especially under stress.
Whatever zero you use:
Do zero from the prone at 25 and confirm at 100. Boresighting is good to get you on paper, but live is better.
Do zero both irons and optics separately.
Don't just put the red dot on the top of the front post and be done with it. You must confirm it live. Use the same hold and position for both.
You will need to adjust your front sight post for elevation and the rear apperature adjusts for windage. Unless you are using an A2 style rear sight, which you should dump at you earliest opportunity. lol
Anyway, my $0.02. There is a ton of info on M4 Carbine on this as well as Lightfighter.
Google "The Zen of the 100m Zero."
In the end, YMMV.
Hoddie