Police have charged a former member of the Defence Force for allegedly threatening a senior officer and creating a Facebook "hate page" against homosexuals.

The threats were allegedly emailed to an Australian Army major in March last year.

A 32-year-old man from Kareela in Sydney's south has been charged with using a carriage service to threaten, menace or cause offence.

During police investigations, a page was discovered on Facebook encouraging violence towards gay men and naming several ADF employees as homosexuals.

The man has been granted conditional bail to appear at Downing Centre Local Court on June 3.