Kevin Rudd has ripped into Malcolm Turnbull over the government's proposed asylum seeker laws, saying they must be opposed, and arguing the Prime Minister is pandering to a "Hansonite insurgency" and that he has misrepresented the 2013 deal struck with Papua New Guinea.

In his first significant foray into domestic politics since since he lost office, Mr Rudd accused Mr Turnbull of doing everything he could to appease the "mad right" of the Coalition.

His attack was a departure from the convention whereby former prime ministers generally avoid criticising their successors.

On Sunday, the Coalition said it would rush new laws into Parliament next week that would introduce a lifetime ban on all visas for asylum seekers who have attempted to come to Australia by boat, even if they are genuine refugees and seek to come as tourists decades later.