unifi wifi 访问规则
    English Answer:
    Understanding UniFi Wi-Fi Access Rules.
    UniFi Wi-Fi access rules are a powerful tool that allows you to control who can access your network and what they can do once they are connected. Access rules can be used to:
    Restrict access to your network based on MAC address, IP address, or client type.
    Create guest networks with limited access.
access是基于什么的工具
    Control bandwidth usage for specific devices or groups of devices.
    Block access to specific websites or applications.
    Set up time-based restrictions on network access.
    Creating an Access Rule.
    To create an access rule, navigate to the "Access Rules" tab in the UniFi Network controller. Click on the "Add Rule" button and enter the following information:
    Name: The name of the access rule.
    Enabled: Select "Yes" to enable the access rule.
    Description: A brief description of the access rule.
    Match Criteria: Select the criteria that will be used to identify the clients that the access rule will apply to. You can match on MAC address, IP address, client type, or a combination of these criteria.
    Action: Select the action that will be taken when a client matches the match criteria. You can allow or deny access, limit bandwidth, or block access to specific websites or applications.
    Schedule: Select a schedule for the access rule. You can choose to have the access rule apply all the time or only during specific hours or days of the week.
    Advanced Options.
    The following additional options are available in the "Advanced Options" section of the access rule editor:
    Logging: Select "Yes" to enable logging for the access rule. This will log all traffic that matches the match criteria.
    Allow DHCP: Select "Yes" to allow the matching clients to obtain an IP address from a DHCP server.
    Allow Association: Select "Yes" to allow the matching clients to associate with the network.
    Accept from: Select the interface(s) that the matching clients will be able to connect to.
    Apply to: Select the SSID(s) that the access rule will apply to.
    Example Access Rules.
    Here are some examples of access rules that you can create:
    Restrict access to a specific MAC address: Use the match criteria "MAC Address" and enter the MAC address of the device that you want to restrict access to. In the "Action" section, select "Deny Access".
    Create a guest network: Use the match criteria "Client Type" and select "Guest" from the drop-down menu. In the "Action" section, select "Allow Access" and limit the bandwidth for the guest network to 1 Mbps.