Residents of a border town have expressed shock as a group of about 50 masked men held a rally and chanted white supremacist slogans.