Former Labor Senator Sam Dastyari has unleashed on Barnaby Joyce and his affair with a Nationals staffer, saying 'everyone' in politics knew about their relationship.

Dastyari resigned in disgrace last year after being caught tipping off a member of a Chinese community party that his phone may have been tapped by authorities.

The former General Secretary of Labor in New South Wales went on a tirade over Joyce's scandal on Twitter Monday night, the first time he has tweeted since November last year, saying he was exiled for 'a LOT less'.

'Hey Twitter - am I allowed back ? (So much to say about Barnaby),' Dastyari said.

'1.Everyone. And I mean EVERYONE in Federal Parliament knew about Vicki and Barnaby. Anyone who claims they didn't know Is either bulls****ing or so out of touch they shouldn't be in Parliament.'

Scroll down for video

Former Labor Senator Sam Dastyari has unleashed on Barnaby Joyce and his affair with a Nationals staffer, saying 'everyone' in politics knew about their relationship

Mr Joyce's marital breakdown became public knowledge late last year when he returned to Parliament as Deputy PM

Mr Joyce, 50, and his former staffer Vikki Campion, 33, (pictured) were recently given the keys to the three-bedroom townhouse

The former General Secretary of Labor in New South Wales went on a tirade over Joyce's scandal on Twitter Monday night,

Dastyari claimed Joyce's relationship with Vikki Campion, who is now pregnant with his child, is a 'clear breach of the rules'.

It has been revealed Ms Campion was moved to a $191,000-a-year senior advisor position on senator Matt Canavan's payroll after her relationship with Mr Joyce became the subject of rumour, The Australian reported.

The pair will be reportedly living rent-free for six months - saving a whopping $14,000 - in the New England property owned by businessman Greg Maguire.

'2. The job relocation is a clear breach of the rules. We all assumed it would come out during the by-election,' Dastyari posted to Twitter Monday night.

'For f***s sale (sic) - how can you construe the pregnant woman Barnaby left his wife for as NOT his 'partner'. Who was she then?????'

Dastyari claimed Joyce's relationship with Vikki Campion, who is now pregnant with his child, is a 'clear breach of the rules'

A spokesman for the prime minister said Mr Joyce (pictured) had not breached ministerial standards because Ms Campion was not the deputy prime minister's 'partner' at the time of her appointments to the offices of Matt Canavan and Mr Drum

The Deputy Prime Minister was photographed with Ms Campion at a bar in inner-west Glebe, Sydney on February 23, 2017

He then tweeted directly at the embattled deputy prime minister, saying he lost his job for actions less severe.

'Hey @Barnaby_Joyce, I went for a LOT less. Quit while you are behind. Trust me - it only gets a LOT worse from here,' he said.

Dastyari also took the opportunity to criticise Julie Bishop, who labelled Labor MP's as 'people in glass houses' following their attack on Joyce following the revelations of his affair.

'And @JulieBishopMP with reference to 'glass houses' - I'm totally out of Parliament so very happy to go 'tit-for-tat' for every Conservative f***ing around. BRING IT ON (seriously, I'm sooooo bored),' he said.

He then tweeted directly at the embattled deputy prime minister, saying he lost his job for actions less severe

Dastyari also took the opportunity to criticise Julie Bishop, who labelled Labor MP's as 'people in glass houses' following their attack on Joyce following the revelations of his affair

Mr Joyce is expecting a child with Ms Campion after it was revealed he with his wife of 24-years, Natalie, with whom he shares four children (pictured together)

Prime Minister Malcolm Turnbull was grilled on the issue during Question Time in Parliament on Monday, but largely deflected any explanation to the other party in his Coalition.

Turnbull said the Nationals were provided with a specific number of personal staff positions as a share of the government's overall staffing pool.

'The distribution of those staff members between Nationals offices is a matter for the National Party,' Mr Turnbull said.

'At no time did the Nationals fill all vacant staffing positions.'

The prime minister said Mr Joyce had made it clear the employment of Ms Campion was never discussed with him or the prime minister's office.

However the prime minister's office 'has an administrative role in informing the department of Finance of changes', Mr Turnbull said.