The problem/use-case that the feature addresses
I have 3 node HA cluster. Each node has private ip and public ip. Case the following all inter cluster communication goes via private network (sentinel and replicas), sentinel support such case, but replicas using master ip from sentinel config, which is in my case public ip. slaves use public ip for replication, but ports are closed, allowed only ports for private range addresses. For external clients will be allowed only specific IPS.
Client --> public_ip_sentinel Client <-- sentinel returns Master PublicIP. Redis Replica --> sentinel Redis Replica <-- sentinel return Master Private ip
Description of the feature
Tell redis that replication connection should via private IP not by public. Or more general request sentinel should support two IPs and announce it to clients.
Can be used similar approach announce-ip but for master public ip
Alternatives you've considered
I have tried to use bind-source-addr to tell redis use private ips in cluster communication. But no luck.
Comment From: garry-t
not relevant. found how to achieve it.