As shown in Figure 1, the FW is deployed as a gateway on the network edge of an enterprise. Some enterprises attempt to allow employees to log in to Google services only with specified enterprise accounts but not their personal accounts. To achieve this, configure the Google account control function on the FW.
Note that over 100 common server CA certificates have been preset on the FW by default, which can be used to verify most server certificates. Generally, these default CA certificates are enough and you do not need to import other CA certificates. In some cases, however, if the preset CA certificates cannot verify the peer server certificates, you need to import other CA certificates. This section describes how to import a CA certificate as a configuration step.
Click
of GE0/0/1 and set required parameters.
Security zone |
untrust |
|---|---|
IPv4 |
|
IP address |
1.1.1.1/24 |
According to the previous steps, add GE0/0/2 to the Trust zone.
Set the parameters as follows for GE0/0/2 and use default values for other parameters:
Security zone |
trust |
|---|---|
IPv4 |
|
IP address |
10.3.0.1/24 |

Check URL logs by choosing . You can find Google Account Control logs matching rules in the URL filtering profile.

# app-proxy built-in-ca trust filename ssl-server-ca app-proxy ca trust filename server_ca.cer # pki entity ssl-server-ca common-name ssl-server-ca fqdn www.example.com locality Trust Network country CN # interface GigabitEthernet0/0/1 undo shutdown ip address 1.1.1.1 255.255.255.0 # interface GigabitEthernet0/0/2 undo shutdown ip address 10.3.0.1 255.255.255.0 # firewall zone trust set priority 85 add interface GigabitEthernet0/0/2 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/1 # web-apps-control type restrict-google-account name google add header content huawei.com # profile type url-filter name google account restrict-google-account name google # security-policy rule name secpolicy-trust2untrust source-zone trust destination-zone untrust source-address 10.3.0.1 mask 255.255.255.0 service https profile url-filter google account action permit # profile type decryption name proxy detect type outbound # decryption-policy rule name proxy source-zone trust destination-zone untrust service https action decrypt profile proxy # return