echo 1 > /proc/sys/net/ipv4/ip_forward
26.xx.x.2:10001
(CVM instance public IP with a custom port as desired) to the CTSDB instance with the private IP 10.x.x.5:9200
:iptables -t nat -A PREROUTING -p tcp --dport 10001 -j DNAT --to-destination 10.x.x.5:9200iptables -t nat -A POSTROUTING -d 10.x.x.5 -p tcp --dport 9200 -j MASQUERADE
26.xx.xx.2:10001
in the sample code), you can use the same way as the private network connection. For more information, see Connecting to Instance.
Was this page helpful?