redirect-url
Syntax
redirect-url url;
Hierarchy Level
[edit services unified-access-control captive-portal policy]
Release Information
Statement introduced in Release 10.2 of Junos OS.
Description
Specify to redirect traffic destined for protected sources to a specified URL.
You can configure the following options in the redirect URL string:
- %dest-url%—Specifies the protected resource which the user is trying to access.
- %enforcer-id%—Specifies the ID assigned to the Junos OS Enforcer by the Infranet Controller.
- %policy-id%—Specifies the encrypted policy ID for the security policy that redirected the traffic.
- %dest-ip%—Specifies the IP address or hostname of the protected resource that the user is trying to access.
- %ic-ip%—Specifies the IP address or hostname of the Infranet Controller to which the Junos OS Enforcer is currently connected to.
If you do not specify the redirect URL, the Junos OS Enforcer uses the following default configuration:
https://%ic-ip%/?target = %dest-url% &enforcer = %enforcer-id% &policy = %policy-id% &dest-ip = %dest-ip%
Usage Guidelines
For configuration instructions and examples, see the Junos OS Security Configuration Guide.
Required Privilege Level
services—To view this statement in the configuration.
services-control—To add this statement to the configuration.
Related Topics
captive-portal, captive-portal (Unified Access Control policy), redirect-traffic.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1