Added support for public ips