Overview
Strengths
Use Cases
Product Series
Performance
Command Compatibility
Regions and AZs
Relevant Concepts
Relevant Products

echo 1 > /proc/sys/net/ipv4/ip_forward
26.xx.x.2:10001 (CVM public IP and customizable port) to a Tendis instance whose private IP and port are 10.0.0.5:6379.iptables -t nat -A PREROUTING -p tcp --dport 10001 -j DNAT --to-destination 10.0.0.5:6379iptables -t nat -A POSTROUTING -d 10.0.0.5 -p tcp --dport 6379 -j MASQUERADE
26.xx.xx.2:10001 in the sample code), you can use the same command as the private network connection command. For more information, please see Connecting to Tendis Instances.info command. If database information is returned, the connection is successful.Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback