Israel is stationing one of its three Dolphin class submarines in the Red Sea, and will keep that boat operating off the Iranian coast some of the time. This sub can be armed with cruise missiles (equipped with nuclear warheads).
In the next two years, Israel will receive two more German built Dolphin class submarines, giving it a total of five (the others were received 9-10 years ago). The older boats have since been upgraded to include larger fuel capacity, converting more torpedo tubes to the larger 650mm size, and installing new electronics. The fuel and torpedo tube mods appear to have something to do with stationing the subs off the coast of Iran. Larger torpedo tubes allow the subs to carry longer range missiles. The larger fuel capacity makes it easier to move Dolphins from the Mediterranean to the Indian ocean. Although Israel has a naval base on the Red Sea, Egypt had, until recently, had not allowed Israeli subs to use the Suez canal. So the Dolphins were modified to go around Africa, if they had to. But now the Egyptians, who are also feuding with Iran, regularly allow Israeli subs to use the canal.
Larger fuel capacity also allows the subs to spend more time on station off the Iranian coast. Currently the Dolphins can stay at sea for about 40 days (moving at about 14 kilometers an hour, on the surface, for up to 8,000 kilometers). Larger fuel capacity extends range to over 10,000 kilometers, and endurance to about 50 days.
The two new Dolphins cost about $650 million each, with Germany picking up a third of the coast, as part of their reparations for World War II atrocities against Jews. The Dolphins have a fuel cell based propulsion system which enable them to stay under waters for over a week at a time. The Dolphins are also very quiet, and very difficult for the Iranians to hunt down and destroy. The first three Dolphins didn't have the AIP (Air Independent Propulsion) system.
Israel equipped it's new Dolphin class submarines with nuclear cruise missiles in 2002. Israel also fitted their 135 kilometer range Harpoon missiles with nuclear warheads. These missiles are fired from the sub's torpedo tubes. The 1,625 ton Dolphins can carry 16 torpedoes or missiles and have ten forward torpedo tubes (four of them the larger 650mm -26 inch- size). The Dolphins are considered the most modern non-nuclear subs in the world. The first three cost $320 million each. All have a crew of 35 and can dive to a depth of more than 600 feet. The Dolphin design is based on the German 209 class subs, but has been so heavily modified that it is considered a different class.
The Israelis have developed a cruise missile, which is has a range of 1,500 kilometers and carries a 200 kiloton nuclear warhead. The objective of deploying nukes on subs is to further enhance deterrence to any nation launching a nuclear strike against Israel. If one of the Dolphins are always at sea, even a first strike against Israel would not prevent a nuclear strike by submarine launched nukes.