R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101

65
Description
Use portal redirect-url to specify the auto redirection URL for authenticated portal users.
Use undo portal redirect-url to restore the default.
By default, a user authenticated is redirected to the URL the user typed in the address bar before portal
authentication.
With Layer 3 portal authentication, this feature requires the cooperation of the IMC server and the IMC
must support the page auto-redirection function.
Examples
# Configure the firewall to redirect a portal user to http://www.testpt.cn after the user passes portal
authentication.
<Sysname> system-view
[Sysname] portal redirect-url http://www.testpt.cn
portal server
Syntax
portal server server-name ip ip-address [ key key-string | port port-id | url url-string ] *
undo portal server server-name [ key | port | url ]
View
System view
Default level
2: System level
Parameters
server-name: Name of the portal server, a case-sensitive string of 1 to 32 characters.
ip-address: IP address of the portal server.
key-string: Shared key for communication with the portal server, a case-sensitive string of 1 to 16
characters. Portal packets exchanged between the access device and the portal server carry an
authenticator, which is generated with the shared key. The receiver uses the authenticator to check the
correctness of the received portal packets.
port-id: Destination port number used when the firewall sends an unsolicited message to the portal server,
in the range of 1 to 65534. The default is 50100.
url-string: Uniform resource locator (URL) to which HTTP packets are to be redirected. The default URL is
in the http://ip-address format, where ip-address is the IP address of the portal server. You can also
specify the domain name of the portal server, in which case you need to use the portal free-rule
command to configure the IP address of the DNS server as a portal authentication-free destination IP
address.
Description
Use portal server to configure a portal server for Layer 3 portal authentication.
Use undo portal server to remove a portal server, restore the default destination port and default URL
address, or delete the shared key.
By default, no portal server is configured for Layer 3 portal authentication.