Iran laid out conditions to end the war with the US and warned of a harsher response.