Welcome, tallatghazi!
Not attract magnets means, in a first approximation, not ferromagnetic.
Then, some peple distinguish ferr
imagnetism from ferromagnetism, but the result is the same.
Dia- and para- magnetic materials still react to magnets with a tiny force, but usually it's negligible. Antiferro- needs cold.
https://en.wikipedia.org/wiki/Ferromagnetismhttps://en.wikipedia.org/wiki/Ferrimagnetismhttps://en.wikipedia.org/wiki/Paramagnetismhttps://en.wikipedia.org/wiki/Diamagnetismhttps://en.wikipedia.org/wiki/Antiferromagnetism----------
"Not pass through" depends on what you mean.
If the field shall pass as if the metal were not there, this means para- or dia- magnetic metals, and exclude the ferromagnetic (and ferri-) ones. So this is the same constraint as "not attract magnets".
But if you want an object to repel the magnetic field, then only the type I superconductors do that. They need cold: liquid helium or, for some materials, liquid nitrogen, and the repelled induction can't exceed some 10mT depending on the material. Some superconductors (type II) work at a higher induction but they don't repel the field.
https://en.wikipedia.org/wiki/Superconductivityhttps://en.wikipedia.org/wiki/Meissner_effectBy the way, repelling the field would inevitably let push the magnet away.
----------
Most metals are para- or dia- magnetic. All common aluminium alloys, copper alloys, titanium alloys... Some iron alloys are not ferromagnetic because that's a molecular property, not an atomic one: for instance austenitic stainless steel, among which the 17-12 variant stays non-magnetic even after deformation.
Other solutions exist besides the material. While a few Soviet submarines were built of titanium alloy, most submarines are made of steel, and to avoid deforming Earth's magnetic field hence being detected, they have big coils where the current is adjusted to let pass the same magnetic flux as if the submarine were not there.