This document will guide you to set a security group and allow only traffic from WAF to access websites.
Security group is an instance-level firewall service provided by Tencent Cloud to control inbound and outbound traffic of CVM instances. You can configure a security group to allow only traffic from WAF to access your website, preventing attackers from bypassing WAF and directly attacking your origin server.
The following uses allowing the WAF intermediate IP
188.8.131.52 in the security group as an example to describe how to configure the security group.
The intermediate IP can be viewed at Domain Name List in the WAF console.
my-security-group) and remarks, and click OK.
Alternatively, you can go to the CVM instance list page to view or modify the security group bound to a CVM instance. On the list page, select the ID of the CVM instance whose security group you want to adjust and click More > Security Groups > Configure Security Groups in the Operation column on the right for configuration.