Only those online casinos are legal that are operated from abroad. If a gambling site sets up office in New Zealand, it will be illegal.