portal web-proxy port

Syntax

portal web-proxy port port-number

undo portal web-proxy port { all | port-number }

View

System view

Default level

2: System level

Parameters

all: Specifies all web proxy server port numbers.

port-number: Specifies the port number used by a web proxy server, in the range of 1 to 65535.

Description

Use portal web-proxy port to add the port number of a web proxy server, so that HTTP requests forwarded by the web proxy server trigger portal authentication.

Use undo portal web-proxy port to delete one or all web proxy server port numbers.

By default, no web proxy server port number is configured on the device and proxied HTTP requests cannot trigger portal authentication.

Only Layer 2 portal authentication supports this function.

Up to four web proxy server port numbers can be added.

If a user's browser uses the Web Proxy Auto-Discovery (WPAD) protocol to discover web proxy servers, you must add the port numbers of the web proxy servers on the device, and configure portal-free rules to allow user packets destined for the IP address of the WPAD server to pass without authentication.

You must add the port numbers of the web proxy servers on the device, and users must make sure their browsers that use a web proxy server do not use the proxy server for the listening IP address of the local portal server. Thus, HTTP packets that the portal user sends to the local portal server are not sent to the web proxy server.

Examples

# Add web proxy server port number 8080 on the device, so that users using a web proxy server with the port number can be redirected to the portal authentication page.

<Sysname> system-view
[Sysname] portal web-proxy port 8080