2wd hubs have a smaller diametre where the strut goes in.
so if using 4x4 shocks u need to get the 2wd hubs machined.
or fit 4x4 front hubs, but then im not sure how u sort out the inner CV, where the drive shaft would normally sit on a 4x4 hub.
think 2wd shocks are 50mm and 4wd are 60mm, not 100% on that