tencent cloud

Feedback

Creating an L4 Proxy Instance

Last updated: 2023-09-11 11:43:31

    Use Cases

    This document describes how to create and configure an L4 proxy instance.
    

    Directions

    1. Log in to the EdgeOne console and click Site List in the left sidebar. In the site list, click the target site.
    2. On the site details page, click L4 proxy.
    3. On the page that appears, click Create L4 proxy instance.
    
    
    
    4. Specify parameters on the Service Configurations page. By default, the service region is the accelerated region of the current site. The table below lists the parameters:
    
    
    
    Item
    Description
    Instance name
    The name must be 1 to 200 characters in length and can contain uppercase and lowercase letters, digits, underscores (_), and hyphens (-).
    Security Configuration
    Default protection: Enabled by default, for details, please refer to DDoS Protection Overview.
    Exclusive DDoS Protection: For details, please refer to the usage of Exclusive DDoS Protection.
    Fixed IP
    When enabled, users can access through a fixed IP address.
    IPv6 access
    If you enable this feature, EdgeOne nodes can be accessed over the IPv6 protocol.
    Chinese MLC- border acceleration
    When enabled, it will optimize the access performance for Chinese mainland users. For details, please refer to Cross-Regional Secure Acceleration (Overseas Sites).
    5. View subscription fees, check and agree to the EdgeOne Service Level Agreement and Refund Policy below, and click Subscribe. For billing description, please refer to the Billing overview.
    6. Specify the forwarding rules. On the L4 proxy page, select the newly created L4 proxy instance, click Configuration, enter the instance details page to configure forwarding rules.You can also import multiple forwarding rules at a time. For more information, see Batch Configuring Forwarding Rules. The table below lists the fields of a forwarding rule:
    
    
    
    Note:
    1. If you specify Origin group for Origin type, you can specify only self-owned origins. In this case, a COS bucket is not supported as the origin.
    2. You can specify at most 2,000 forwarding rules for each L4 proxy instance.
    Item
    Description
    Rule ID
    Auto-generated, not supported for modification, unique identifier of the rule.
    Forwarding protocol
    Forwarding protocol of L4 proxy. Valid values: TCP and UDP.
    Forwarding port
    The supported port number ranges from 1 to 64999,. You can enter multiple ports separated with semicolons (;) or use a hyphen to enter a port range. You can enter up to 20 ports in a forwarding rule.
    The following ports are reserved for internal use, please do not use them:
    For TCP forwarding protocol: 3943, 3944, 6088, 36000, 56000.
    For UDP forwarding protocol: 4789, 4790, 6080, 61708.
    Origin type and Origin address
    Single origin: If you specify Single origin for Origin type, you can enter the IP address or domain name of a single origin.
    Origin group: If you specify Origin group for Origin type, you can select an origin from an existing origin group, or create an origin group.
    Origin port
    You can enter a single port or a port range. If it is a port range, the forwarding port must also be a port range, and the length of the origin port and forwarding port ranges must be consistent.
    For example: If the forwarding port range is 80-90, the origin port range can be 80-90 or 90-100.
    Session persistence
    As long as an origin server IP remains unchanged, traffic from the same client IP will always be forwarded to the same origin server IP.
    Pass client IP
    TOA: Pass client IPs via TCP Option (type 200), which only supports TCP protocols.
    Proxy Protocol V1 (recommended): Pass client IPs as plaintext by using the TCP header, which only supports TCP protocols.
    Proxy Protocol V2: Pass client IPs by using the header. V2 uses the binary format and supports both TCP and UDP protocols. Each data packet carries a PPv2 header for TCP, while only the first data packet carries the header for UDP.
    Not passed: Real client IPs will not be transferred.
    Rule Tag
    Optional, you can enter 1-50 any characters to identify the forwarding rule.
    7. Click Save to complete the configuration of the L4 proxy rules.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support