How to add node located behind NAT?


#1

Hi everybody,
I’m trying to add some node to a cluster. This node is located behind NAT. The other nodes of the cluster aren’t.
I guess this node uses it’s LOCAL IP address while establishing a connection . Therefore I get an error saying "unable to connect to 192.168.0.1 blablabla"
Is there a way to define an external address of a node?


#2
  1. You can setup VPN
  2. You can install Couchbase Server 2.1+ and use DNS name, when adding node to cluster.
    See: http://docs.couchbase.com/couchbase-manual-2.2/#release-notes-for-couchbase-server-210-ga-june-2013 and http://docs.couchbase.com/couchbase-manual-2.2/#couchbase-getting-started-hostnames

#3

Thank you very much.
Your answer helped to solve my problem. I used DNS names.