Treatment of cyclohexanecarboxaldehyde (I) with sulfur monochloride produced the dimeric disulfide (II). After condensation of (II) with 3-amino-1-propanol (III), reduction with NaBH4 afforded diamine (IV). Subsequent N-methylation of (IV) to give (VI) was achieved by condensation with formaldehyde, followed by NaBH4 reduction of the resulting oxazine (V). Reductive cleavage of the disulfide group of (VI) using LiAlH4 provided thiol (VII). Optionally, nitrosation of the sulfhydryl group of (VII) by means of tert-butyl nitrite gave rise to the nitrosothio derivative (VIII). Further coupling of this compound with diclofenac (IX) in the presence of DCC and DMAP furnished the title ester. Alternatively, the title compound was prepared by esterification of mercapto alcohol (VII) with diclofenac, followed by S-nitrosation of the resulting ester (X).