Once you have the prop shaft removed you can just stick a screwdriver or similar through one of the bolt holes and use it to hold the flange steady while you use an impact driver to remove the nut.