Anti-DDoS Pro Non-Web Service protection provides IP-address-based session persistence, which supports forwarding requests from the same IP address to the same backend server.
Follow these steps to configure session persistence for the Non-Web Service in the Anti-DDoS Pro console.
Log on to the Alibaba Cloud Security Anti-DDoS console.
Go to Anti-DDoS Pro > Non-Web Service.
Select an Anti-DDoS Pro instance and the corresponding IP address.
Locate the target Forwarding protocol/port, and then click Configure under the Session Persistence column of the protocol/port. You can set session persistence at the port level.
Set the Connection Timeout, and then click Save.