Table Of Contents
Prerequisites for SSG Permanent TCP Redirection
Restrictions for SSG Permanent TCP Redirection
Information About SSG Permanent TCP Redirection
How SSG Permanent TCP Redirection Works
Supported SSG Permanent TCP Redirection Functionality
RADIUS Attributes for SSG Permanent TCP Redirection
Benefits of SSG Permanent TCP Redirection
How to Configure SSG Permanent TCP Redirection
Defining a Captive Portal Group
Configuring SSG Permanent TCP Redirection for HTTP Proxy Support
Verifying SSG Permanent TCP Redirection
Configuration Examples for SSG Permanent TCP Redirection
Configuring SSG for Permanent TCP Redirection: Example
Configuring RADIUS Attributes for Permanent TCP Redirection: Example
Verifying SSG Permanent TCP Redirection: Examples
show ssg tcp-redirect mappings Sample Output: Example
show ssg host Sample Output: Example
show ssg connection Sample Output: Example
SSG Permanent TCP Redirection
The SSG Permanent TCP Redirection feature enables Service Selection Gateway (SSG), in conjunction with Cisco Subscriber Edge Services Manager (SESM), to provide service selection support to users whose web browsers are configured with HTTP proxy servers. This feature supports plug-and-play functionality in public wireless LANs.
Release Modification12.3(3)B
This feature was introduced.
12.3(7)T
This feature was integrated into Cisco IOS Release 12.3(7)T.
Feature History for the SSG Permanent TCP Redirection Feature
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for SSG Permanent TCP Redirection
•
Restrictions for SSG Permanent TCP Redirection
•
Information About SSG Permanent TCP Redirection
•
How to Configure SSG Permanent TCP Redirection
•
Configuration Examples for SSG Permanent TCP Redirection
Prerequisites for SSG Permanent TCP Redirection
Before permanent TCP redirection can be configured, SSG must be enabled by using the ssg enable command.
The SSG TCP Redirect feature must be enabled by using the ssg tcp-redirect command.
See the Glossary for definitions of terms used in this document.
Restrictions for SSG Permanent TCP Redirection
The SSG Permanent TCP Redirection feature has the following restrictions:
•
SSG will not provide concurrent service selection to the HTTP proxy user who uses web traffic to reach more than one service. SSG can redirect web traffic to only one service or server.
Note
You can use the Cisco Content Service Gateway (CSG) as the HTTP proxy server in the SSG configurations. SSG will then send all the HTTP traffic to CSG, which can provide service selection to these users.
•
SSG will not provide TCP redirection for unauthorized services for HTTP proxy users who are unauthenticated because SSG will not know the destination of the traffic.
Note
You can use CSG as the authenticated HTTP server in the SSG configurations. SSG will send the HTTP traffic to CSG, which can recognize an unauthorized access attempt by a user and take appropriate action.
•
SSG simulates the proxy for HTTP traffic, so if a user tries to send any traffic other than HTTP traffic, the connection will fail. For example, a user will be unable to use FTP to access the HTTP proxy server configured in the browser.
•
If a user changes HTTP proxy settings after authentication, SSG will not be able to detect the changes.
Information About SSG Permanent TCP Redirection
To configure SSG permanent TCP redirection for HTTP proxy support, you should understand the following concepts:
•
How SSG Permanent TCP Redirection Works
•
Supported SSG Permanent TCP Redirection Functionality
•
RADIUS Attributes for SSG Permanent TCP Redirection
•
Benefits of SSG Permanent TCP Redirection
Overview of SSG
SSG is a switching solution for service providers who offer intranet, extranet, and Internet connections to subscribers using broadband access technology such as digital subscriber lines (DSL), cable modems, or wireless to allow simultaneous access to network services.
SSG works in conjunction with the Cisco Subscriber Edge Services Manager (SESM). Together with the SESM, SSG provides subscriber authentication, service selection, and service connection capabilities to subscribers of Internet services. Subscribers interact with the SESM web application using a standard Internet browser.
For more information about SSG, see the "Additional References" section.
How SSG Permanent TCP Redirection Works
An HTTP-proxy server is a server that acts like an HTTP (or web) server for the user, but is just a proxy. Browsers such as Netscape, Mozilla, and Windows Internet Explorer can be configured to send all HTTP traffic to an HTTP proxy server, which brings back the web pages from the real HTTP server. In this document, the term traffic refers to HTTP traffic from the HTTP proxy user, and the term user (or HTTP proxy user) refers to a user with HTTP proxy settings in his or her browser (unless otherwise stated).
When an HTTP proxy server is configured in a browser, HTTP traffic is always directed to the HTTP proxy server. HTTP proxy servers are usually internal to a corporate intranet or Internet service provider (ISP) and are usually not routable globally. If an HTTP proxy user tried to open a web page from a PWLAN, SSG would drop the HTTP traffic because the HTTP server is not routable by SSG. The SSG Permanent TCP Redirection feature enables SSG to support users whose web browsers are configured with HTTP proxy servers.
Figure 1 shows a typical wireless LAN (WLAN) topology in which permanent TCP redirection would be used.
Figure 1 Sample WLAN Topology for SSG Permanent TCP Redirection
The following steps provide a general description of how permanent TCP redirection works:
1.
A user (IPu) enters a WLAN hot spot (a specific location in which an access point provides public wireless broadband network services to mobile visitors) and opens the browser on his or her laptop. The browser is configured with an HTTP-proxy server (IPw : Portw).
2.
The user tries to open a web page; for example, http://www.example.com. The browser sends the traffic to the HTTP proxy server (IPw : Portw).
3.
SSG intercepts the traffic from unauthenticated user IPu and passes it to the SESM captive portal.
4.
The SESM captive portal looks into the HTTP packet and determines if the packet is destined for the HTTP proxy server. When the SESM captive portal determines that the packet is destined for an HTTP proxy server, it sends a message to SSG containing the user's HTTP proxy settings.
5.
SSG stores the information (namely, that user IPu has the HTTP proxy server setting IPw : Portw). From now on, SSG will redirect all traffic from user IPu and destined for IPw : Portw to the local HTTP proxy server for unauthenticated users, which is running on SESM.
6.
Once the user has been authenticated, SSG will redirect all traffic from the user IPu and destined for IPw : Portw to the local HTTP proxy server for authenticated users, which is also running on SESM.
Supported SSG Permanent TCP Redirection Functionality
The SSG Permanent TCP Redirection feature supports the following functionality:
•
SSG will allow users whose browsers are configured with HTTP proxy servers to log on and reach the Internet. The HTTP proxy server can be configured as an IP address or a domain name.
•
SSG supports users with HTTP proxy server configurations who also use Extensible Authentication Protocol (EAP) authentication methods by redirecting the users to the SESM captive portal using the initial-captivation functionality.
•
SSG supports users with HTTP proxy server configurations in PWLAN hot spots in which the hot spot allows users to select from multiple ISPs. In such cases, each ISP must have an instance of the HTTP proxy server running on SESM, and this instance can be defined in the ISP's service profile. ISPs can share the same HTTP server.
•
SSG will allow the user to initiate an end-to-end Virtual Private Network (VPN) connection after the user has been authenticated and authorized to reach the Internet or VPN gateway.
•
If an authenticated user selects a corporate service (a Layer 2 Tunnel Protocol (L2TP) tunnel service that is initiated from SSG), the service can be configured so that SSG allows HTTP traffic to reach the service without redirecting it to the local HTTP proxy server.
Note
The corporate HTTP proxy server must be able to reach SESM in order for users to be able to log out or manage services. To enable HTTP proxy users to reach SESM, give SESM a globally routable IP address.
•
SSG permanent TCP redirection is supported with or without the SSG Port-Bundle Host Key feature.
•
SSG will include in its accounting all the HTTP traffic going to the HTTP proxy server, even traffic destined for the open garden or TCP-redirect server (which is otherwise not included in the accounting).
Note
If you use the CSG as the authenticated HTTP server, you can configure the CSG to prevent HTTP traffic destined for the open garden or TCP redirect server from being included in accounting.
•
The SSG Permanent TCP Redirection feature is supported even if the user is configured with an exclude list for the HTTP proxy server and the home page (or first page) falls into the exclude list.
RADIUS Attributes for SSG Permanent TCP Redirection
Table 1 lists the vendor-specific attributes that can be configured in the RADIUS service profile to perform SSG permanent TCP redirection. The service profile is downloaded from the authentication, authorization, and accounting (AAA) server as part of user authentication.
Benefits of SSG Permanent TCP Redirection
The SSG Permanent TCP Redirection feature enables SSG to provide service selection support to users whose web browsers are configured with HTTP proxy servers. This solution enables SSG, in conjunction with SESM, to provide an emulation of the HTTP proxy so the experience of the user is as if the user's web browser were exchanging traffic with the user's real HTTP proxy server. This feature supports plug-and-play functionality in PWLANs.
How to Configure SSG Permanent TCP Redirection
This section contains the following procedures:
•
Defining a Captive Portal Group
•
Configuring SSG Permanent TCP Redirection for HTTP Proxy Support
•
Verifying SSG Permanent TCP Redirection
Defining a Captive Portal Group
Perform this task to configure captive portal server groups for authenticated and unauthenticated HTTP-proxy users.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ssg tcp-redirect
4.
server-group group-name
5.
server ip-address port
6.
end
DETAILED STEPS
Configuring SSG Permanent TCP Redirection for HTTP Proxy Support
Perform this task to configure permanent TCP redirection for authenticated and unauthenticated users with HTTP proxy server configurations.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ssg tcp-redirect
4.
redirect permanent http authenticated to server-group
5.
redirect permanent http unauthenticated to server-group
6.
end
7.
Configure the RADIUS service profile to support permanent TCP redirection.
DETAILED STEPS
Command or Action PurposeStep 1
enable
Example:Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Enters global configuration mode.
Step 3
ssg tcp-redirect
Example:Router(config)# ssg tcp-redirect
Enables SSG TCP redirect and enters SSG-redirect configuration mode.
Step 4
redirect permanent http authenticated to server-group
Example:Router(config-ssg-redirect)#
Specifies a server group for permanent TCP redirections for authenticated users with HTTP proxy server configurations.
•
server-group—name of the local HTTP proxy server group for authenticated users
Step 5
redirect permanent http unauthenticated to server-group
Example:Router(config-ssg-redirect)#
Specifies a server group for permanent TCP redirections for unauthenticated users with HTTP proxy server configurations.
•
server-group—name of the local HTTP proxy server group for unauthenticated users
Step 6
end
Example:Router(config-ssg-redirect)# end
(Optional) Returns to global configuration mode.
Step 7
Configure the RADIUS service profile to support permanent TCP redirection.
The RADIUS service profile is downloaded from the AAA server as part of service authorization. Configure one of the following attributes in the service profile to support permanent TCP redirection:
•
ssg-service-info = KWserver-group-name
•
ssg-service-info = KW0
See the "RADIUS Attributes for SSG Permanent TCP Redirection" section for more information about the RADIUS attributes for permanent TCP redirection.
Verifying SSG Permanent TCP Redirection
Perform this task to verify the configuration and functionality of SSG permanent TCP redirection for HTTP proxy support.
SUMMARY STEPS
1.
show ssg tcp-redirect mappings [ip-address [interface]]
2.
show ssg host [ip-address [interface] | username]
3.
show ssg connection ip-address service-name [interface]
DETAILED STEPS
Configuration Examples for SSG Permanent TCP Redirection
•
Configuring SSG for Permanent TCP Redirection: Example
•
Configuring RADIUS Attributes for Permanent TCP Redirection: Example
•
Verifying SSG Permanent TCP Redirection: Examples
Configuring SSG for Permanent TCP Redirection: Example
The following example shows how to configure SSG to support permanent TCP redirection for authenticated and unauthenticated HTTP proxy users:
ssg tcp-redirectserver-group unauthen-groupserver 10.76.86.90 8090!server-group auth_web_groupserver 10.76.86.90 8101!server-group unauth_web_groupserver 10.76.86.90 8102!redirect unauthenticated-user to unauthen-group!redirect permanent http unauthenticated to unauth_web_group!redirect permanent http authenticated to auth_web_groupConfiguring RADIUS Attributes for Permanent TCP Redirection: Example
The RADIUS attributes shown in the examples below are configured in the service profiles on the AAA server.
The following example shows how to configure the service profile so that when a user logs on to the service, SSG will redirect the user's HTTP traffic to a server configured in the server group called "service_http_proxy_isp_a":
ssg-service-info = KWservice_http_proxy_isp_aThe following example shows how to configure the service profile so that when a user logs on to the service, SSG will allow all HTTP traffic to go to the service without permanent TCP redirection:
ssg-service-info = KW0Verifying SSG Permanent TCP Redirection: Examples
The following examples show a basic configuration and corresponding sample output for the commands that can be used to verify the SSG Permanent TCP Redirection feature:
•
show ssg tcp-redirect mappings Sample Output: Example
•
show ssg host Sample Output: Example
•
show ssg connection Sample Output: Example
show ssg tcp-redirect mappings Sample Output: Example
Use the show ssg tcp-redirect mappings command to display permanent TCP redirect mappings for unauthenticated users.
The examples that follow correspond to this configuration example:
!ssg tcp-redirectserver-group unauthen-groupserver 10.76.86.90 80!redirect unauthenticated-user to unauthen-group!server-group unauth_web_groupserver 9.2.76.12 80!redirect permanent http unauthenticated to unauth_web_groupThe following output corresponds to the sample configuration above:
Router# show ssg tcp-redirect mappingsAuthenticated hosts:No TCP redirect mappings for authenticated usersUnauthenticated hosts:TCP remapping Host:1.6.6.2 to server:10.76.86.90 on port:80Host:1.6.6.2 has web-proxy settings 160.0.0.2:3123Total number of hosts with mappings: 1Router# show ssg tcp-redirect mappings 1.6.6.2TCP remapping Host:1.6.6.2 to server:10.76.86.90 on port:80Connection Mappings (src port <-> dest IP,dest port,timestamp,flags,upst_seq,upst_ack,dnst_seq,dnst_ack):24706 <-> 160.0.0.2,3123,1062436827,0x0,102D9680,C0368148,C0368148,102D9680TCP remapping Host:1.6.6.2 to server: 9.2.76.12 on port:80 (1:0)Connection Mappings (src port <-> dest IP,dest port,timestamp,flags,upst_seq,upst_ack,dnst_seq,dnst_ack):30850 <-> 150.0.0.2,23,1068514862,0x0,4092DF40,EC073184,EC07317E,4092DF40User has permanent web-redirect settings: 160.0.0.2:3123 is redirected to 9.2.76.12:80, last-activity at:1062436830show ssg host Sample Output: Example
When HTTP traffic is redirected to the default HTTP proxy server for authenticated users, the input and output counters for bytes and packets are included in the accounting for the host. Use the show ssg host command to display these statistics.
The examples that follow correspond to this configuration example:
!ssg tcp-redirectserver-group auth_web_groupserver 9.2.36.253 80!redirect permanent http authenticated to auth_web_groupThe following output corresponds to the sample configuration above:
Router# show ssg host 1.6.6.2User has permanent web-redirect settings: 160.0.0.2:3123 is redirected to 9.2.36.253:80Default web traffic statistics:Input Bytes = 8, Input Packets = 186Output Bytes = 6, Output Packets = 154The show ssg host command can also be used to display the server to which web traffic is redirected when a user logs in to a service that is configured with attribute ssg-service-info=KWserver-group-name or attribute ssg-service-info=KW0.
Router# show ssg host 1.6.6.2...User has permanent web-redirect settings: 160.0.0.2:3123 is redirected to 9.2.36.246:80When attribute 26,9,251,KW0 is configured, the show ssg host command will show that the user's web traffic is not redirected, as in the following example:
Router# show ssg host 1.6.6.2...User has permanent web-redirect settings: 160.0.0.2:3123 is redirected to 0.0.0.0:0show ssg connection Sample Output: Example
Use the show ssg connection command to display connection information for a specific host and service when the 26,9,251,KWserver-group-name attribute is configured in the service profile for the service.
In the example that follows, a sample configuration is provided along with the corresponding show ssg connection command output. The attribute ssg-service-info = KWservice_http_proxy_isp_a must be configured in the service profile.
!server-group service_http_proxy_isp_aserver 9.2.36.246 80The following output corresponds to the sample configuration above:
Router# show ssg connection 1.6.6.2 internet_isp_a...Input Bytes = 16, Input Packets = 234Output Bytes = 11, Output Packets = 198Additional References
The following sections provide references related to SSG permanent TCP redirection.
Related Documents
Related Topic Document TitleSSG commands
Cisco IOS Wide-Area Networking Command Reference, Release 12.3 T
SSG configuration tasks
Service Selection Gateway, Release 12.3(4)T new-feature document
SSG TCP Redirect for Services, Release 12.2(13)T new-feature document
SESM
Cisco Subscriber Edge Services Manager
RADIUS commands
Cisco IOS Security Command Reference, Release 12.3 T
RADIUS configuration tasks
Standards
Standards TitleNo new or modified standards are supported by this feature. Support for existing standards has not been modified by this feature.
—
MIBs
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature. Support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents the new Glossary command.
redirect permanent http to
To configure SSG with permanent TCP redirection for HTTP proxy server support, use the redirect permanent http to command in SSG-redirect configuration mode. To disable permanent TCP redirection, use the no form of this command.
redirect permanent http {authenticated | unauthenticated} to server-group
no redirect permanent http {authenticated | unauthenticated} to server-group
Syntax Description
Defaults
Permanent TCP redirection is not configured.
Command Modes
SSG-redirect configuration
Command History
Release Modification12.3(3)B
This command was introduced.
12.3(7)T
This command was integrated into Cisco IOS Release 12.3(7)T.
Usage Guidelines
Permanent TCP redirection enables SSG to support users whose web browsers are configured with HTTP proxy servers.
Examples
The following example shows how to configure SSG to support permanent TCP redirection for authenticated and unauthenticated HTTP proxy users:
ssg tcp-redirectserver-group unauthen-groupserver 10.76.86.90 80!server-group auth_web_groupserver 9.2.36.253 80!server-group unauth_web_groupserver 9.2.76.12 80!redirect unauthenticated-user to unauthen-group!redirect permanent http unauthenticated to unauth_web_group!redirect permanent http authenticated to auth_web_groupRelated Commands
Glossary
hot spot—A specific geographic location in which an access point provides public wireless broadband network services to mobile visitors through a wireless LAN (WLAN). Examples of hot spots include airports, coffee shops, hotels, and conference centers. Hot spots typically have a short range of access.
HTTP proxy server—A server that acts like an HTTP (or web) server for the user, but is just a proxy. Browsers such as Netscape, Mozilla, and Windows Internet Explorer can be configured to send all HTTP traffic to the HTTP proxy server, which brings back the web pages from the real HTTP server.
traffic—In this document, refers to HTTP traffic from the HTTP-proxy user. Note that this traffic would always be destined for the HTTP proxy server that is configured in the user's browser.
user (or HTTP proxy user)—In this document, refers to a user with HTTP proxy settings in his browser (unless otherwise stated).
Copyright © 2003 Cisco Systems, Inc. All rights reserved.



