I'm trying to set up a 3 node Redis Cluster that communicates over stunnel.
Redis listens on port 6379 (configurable) for client pub/sub and on the configured port+10000 (not configurable - it becomes 16379 in this case) for cluster communication.
I haven't had much luck configuring stunnel for this. Could someone walk me through the configuration?
This is what I've got for node 1:
cert = /etc/stunnel/private/private.pem pid = /var/run/stunnel.pid  client = yes accept = localhost:6382 connect = redis2:26382  client = yes accept = localhost:6383 connect = redis3:26383  client = no accept = 26381 connect = 6381
The other nodes have a config that follows a similar pattern.
http://redis.io/topics/cluster-tutorial says redis cluster mode "does not support NATted environments and in general environments where IP addresses or TCP ports are remapped."