The court order Tuesday placed the soldier under house arrest and ordered him to be "restrained for 180 days from the gay community".
The soldier, 20-year old Shmuel Preimark from Jerusalem, admitted to the charges against him on Sunday, at which time the court remanded his arrest by three days.
Preimak admitted that he threatened participants in the Saturday rally, which was held in Tel Aviv's Rabin Square in commemoration of two victims of a shooting that occurred one week earlier in a community center that provides assistance for gay teens.
Preimak is suspected of posting a message on a gay web forum a few hours before the rally began, threatening to hurt the rally's participants.
The soldier allegedly wrote, "Expect more victims among the gays, this time something bigger" and "a second attack on the community soon. Be ready. Don't say 'we didn’t know'."
In response, police sent squad cars to the pickup points in both cities.