req.ips
If sails.config.http.trustProxy is enabled, this variable contains the IP addresses in this request's "X-Forwarded-For" header as an array of the IP address strings. Otherwise an empty array is returned.
req.ips;
If a request contains a header, "X-Forwarded-For: client, proxy1, proxy2":
req.ips;
// -> ["client", "proxy1", "proxy2"]`
// ("proxy2" is the furthest "down-stream" IP address)