Police say two men shot by officers near the Victoria-NSW border are on a counter-terrorism watchlist.

The men aged 19 and 30 are believed to have links to outlaw motorcycle gangs, rammed the police car and lunged at the officers with a knife and a tomahawk.

Both men were shot by police and taken to Albury Hospital with serious injuries. The 30-year-old was later flown to Melbourne.