You can plug a galvanized pipe possibly temporarily or forever. To produce a temporary plug, you would like galvanized pipe fittings like a plastic cap to secure the pipes. You may as well attach the steel cap. If you need long term success, simply just solder the tip of the pipe you intend to cap.Previous but not minimum, you should secure each pi