For larger pipe runs choose an inside wood framed wall.
How to run a pipe through a concrete block wall.
If you need to run a new stack assess your framing.
Step 5 finish filling the trench.
Many times shifting soil or a house settling can create a gap around the pipe and an escape route for water before it reaches the foundation drain pipe.
I can see no evidence of excessive corrosion.
If you are working with a concrete block foundation wall rather than solid concrete you may be able to use a carbide tipped core bit on a hammer drill to cut through the block walls.
Feed the pipe through the hole and run it all the way around the foundation.
Seal off the drain hole in the wall with poured cement and caulking.
When drilling a small hole through your reinforced concrete foundation wall you want to avoid placing the hole too close to the edge of the concrete and avoid hitting rebar.
Builders use many techniques to run pipe through concrete block walls but the easiest and most efficient way is to use a core drill.
Those are both covered in the upc and irc.
An installation with a toilet must have a 3 inch drain which can be installed only if the stud wall is made of 2x6s or larger 2 inch pipe can be run through a 2x4 wall.
Keep in mind you will not be able to use a pipe diameter larger than 21 2 in the walls from the foam to the concrete.
The only restriction that i recall is underground gas piping run through a foundation wall and or a slab.
Remove the wall surface up to the ceiling.
When pipes pass through basement walls underground ground water can leak in around the pipes and through the concrete.
2 schedule 40 pipe is approximately 21 2 od it is not recommended that you run plumbing in the void of an icf wall and then pour concrete around it unless necessary.
Add 8 inches of coarse gravel above the drain pipe all the way around the foundation.
A reinforced concrete foundation wall will typically have steel rebar running in both directions horizontally and vertically.