Allow specifying custom ips

Allow specifying custom ips