Traffic Forwarding via Proxy Chaining
- As the name implies, proxy chaining is used to link multiple forward proxies to obtain the benefits of each.
- This method is suitable for larger organizations with multiple networks that want to direct web traffic through Comodo Secure Web Gateway (SWG).
- SWG is designed to be placed as the "Upstream Proxy" to other
web gateways such as Websense, Bluecoat, iboss and so on.
The following examples use a Bluecoat Proxy SG and Comodo SWG integration scenario, where Bluecoat is downstream and SWG is the upstream proxy.
1. Basic Chaining
Bluecoat > SWG
In this scenario, Bluecoat Proxy SG is forwarding requests to SWG but performing no authentication. SWG can be set to do Active Directory authentication.
Use the Blue Coat Management console to forward requests to the Dome as following:
-
In the Blue Coat Management Interface, under the 'Configuration tab', go to Forwading > Forwarding Hosts.
-
Select 'Install from Text Editor' from the drop-down then click 'Install'.
-
Edit the 'Forwarding Hosts' configuration file to point to Dome. e.g:
- Add “fwd_host Dome_Proxy X.X.X.X http=19080” at the end of “Forwarding host configuration” section.
- Add “sequence Dome_Proxy” to the end of “Default fail-over sequence” section.
-
Once editing is complete, click 'Install'.
-
In the 'Configuration' tab, go to 'Policy' and select 'Visual Policy Manager'.
-
Click 'Launch'.
-
In the 'Policy Menu', add a new Forwarding Layer with a chosen policy name.
-
Select the Forwarding Layer tab that is created. Edit source, destination and service columns with necessary information. You can also leave as 'Any' by default.
-
Select the alias name you created in steps 2-5 (e.g: Dome_Proxy) from the list.
-
Click OK.
-
Click Install Policy.
2. X-Authenticated-For Chaining
In this scenario, Bluecoat will be configured to pass X-Authenticated-User headers to Dome Proxy and Bluecoat will be doing user authentication as the downstream proxy.
Note 1: SWG supports passing X-Forwarded-For headers but can not use them with granular policies. They can, however, be used in reporting. Global Policy will be applied to such traffic. Note 2: SWG honors X-Authenticated-User headers first and X-Forwarded-For headers next. If you want to set granular policies, use X-Authenticated-User headers. |
Edit Bluecoat local policy file:
-
Go to the 'Configuration' tab.
-
Click 'Policy' in the left column and select 'Policy Files'.
-
Edit the text file as following:
action.Add[header name for authenticated user](yes)
define action dd[header name for authenticated user]
set(request.x_header.X-Authenticated-User, "WinNT://$(user.domain)/$(user.name)")
end action Add[header name for authenticated user]
Or use the Visual Policy Manager
-
Go to the 'Policy Menu' and select 'Add Web Access Layer' and give the policy a name
-
Set Source, Destination, Service and Time column as 'ANY'
-
Right click on 'Set' and click 'New' then 'Control Request Header'
-
Enter X-Authenticated-User in the 'Header Name' field
-
Select 'Set Value' radio button and enter: WinNT://$(user.domain)/$(user.name)
-
Click 'OK'
-
Click 'New' and select 'Combined Action Object', enter a name, select the previously created headers and Click 'Add'
-
Click 'OK'
-
Click 'Install Policy'.
Note:
|
Please contact us at domesupport@comodo.com if you have any issues connecting endpoints / networks to Comodo SWG.