Add Layer-4 Forwarding Rule

Last updated: 2020-06-09 15:27:11


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new Anti-DDoS Advanced API 3.0 which is standardized and faster.

    API Description

    This API (BGPIPAddTransRules) is used to add layer-4 forwarding rules to Anti-DDoS Advanced instances.
    Protocol: HTTPS
    Domain Name:
    API: BGPIPAddTransRules

    Request Parameters

    Below is a list of API request parameters. You need to add common request parameters to your request when calling this API. For more information, see Common Request Parameters. The Action field for this API is BGPIPAddTransRules.

    Parameter Required Type Description
    bgpId Yes String Resource ID of the Anti-DDoS instance
    vip Yes String IP of the Anti-DDoS Advance instance
    protocol Yes String Protocol used in forwarding rules. Only TCP is supported
    virtualPort Yes Integer Forwarding port
    sourcePort Yes Integer Real server port
    ipList Yes String IP list of the real server. Up to 20 IPs allowed for each rule

    Response Parameters

    Parameter Example Type Description
    ruleId rule-000001 String ID of the forwarding rule

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback