Lindorm blocks all external access to instances by default. Add the IP addresses of your clients to a whitelist before connecting to a Lindorm instance. Keep whitelists up to date on a regular basis.
Prerequisites
Before you begin, ensure that you have:
A Lindorm instance
The IP address of each client that needs access (see Find your client's IP address)
Find your client's IP address
The method depends on where your client runs:
| Client location | Network type | How to get the IP address |
|---|---|---|
| Elastic Compute Service (ECS) instance (Recommended) | Virtual private cloud (VPC) | Check the IP address assigned to the ECS instance. See How do I query the IP addresses of ECS instances?. The ECS instance and the Lindorm instance must be in the same VPC. |
| On-premises device | Internet | Linux: Run curl ipinfo.io |grep ip to get the public IP address. Windows: Visit https://www.ip138.com/ to get the public IP address. |
Add IP addresses to a whitelist
Adding 0.0.0.0/0 to the whitelist allows access from any IP address. This poses high security risks. Proceed with caution.
Log on to the Lindorm console.
In the upper-left corner, select the region where the instance is located.
On the Instances page, click the instance ID or click Manage in the Actions column.
In the left-side navigation pane, click Access Control.
Click Modify Whitelist.
In the Modify Whitelist dialog box, enter the IP addresses or CIDR blocks to allow.
ImportantUse the following formats:
Format Description Example Single IP address Enter the IP address directly. 192.0.XX.XXIP range (CIDR notation) Use Classless Inter-Domain Routing (CIDR) format. The suffix must be between /1and/32. See What is CIDR?192.0.XX.XX/24Multiple entries Separate IP addresses or CIDR blocks with commas ( ,).192.0.XX.XX, 10.0.XX.XX/24Block all access Enter 127.0.0.1to block all IP addresses from accessing the instance.127.0.0.1Click OK.