Technical Articles
F5 SMEs share good practice.
cancel
Showing results for 
Search instead for 
Did you mean: 
KevinGallaugher
F5 Employee
F5 Employee

Summary

This article is part of a series on implementing Orchestrated Infrastructure Security. It includes High Availability and the protection of critical assets using McAfee Web Gateway.  It is assumed that SSL Orchestrator is already deployed, and basic network connectivity is working.

If you need help setting up SSL Orchestrator for the first time, refer to the Dev/Central article series on Implementing SSL Orchestrator here or the CloudDocs Deployment Guide here.

This article focuses on using SSL Orchestrator as a tool to assist with simplifying Change Management processes, procedures and shortening the duration of the entire process.

Configuration files of McAfee Web Gateway can be downloaded from here from GitLab. 

Please forgive me for using SSL and TLS interchangeably in this article.

A video demo of this Dev/Central article is available HERE

This article is divided into the following high level sections:

Part1 (Available here) 

  • Configure McAfee Web Gateway (MWG) interfaces
  • Create a new Topology to perform testing
  • Monitor McAfee Web Gateway statistics – change the weight ratio – check McAfee Web Gateway stats again
  • Remove a single McAfee Web Gateway device from the Service

Part 2 (Available here) 

  • Perform maintenance on the McAfee Web Gateway device
  • Add the McAfee Web Gateway device to the new Topology
  • Test functionality with a single client
  • Add the McAfee Web Gateway device back to the original Topology
  • Test functionality again
  • Repeat to perform maintenance on the other McAfee Web Gateway device

Perform maintenance on the McAfee Web Gateway device

At this point MWG1 has been removed from the Production_Topology and is no longer handling production traffic.  MWG2 is now handling all of the production traffic.

We can now perform a variety of maintenance tasks on MWG1 without disrupting production traffic.  When done with the task(s) we can then safely test/verify the health of MWG1 prior to moving it back into production.

Some examples of maintenance tasks:

  • Perform a software upgrade to a newer version.
  • Make policy changes and verify they work as expected.
  • Physically move the device.
  • Replace a hard drive, fan, and/or power supply.

Add the McAfee Web Gateway device to the new Topology

This will allow us to test its functionality with a single client computer, prior to moving it back to production.

From the SSL Orchestrator Configuration Utility click SSL Orchestrator > Configuration > Topologies > sslo_Topology_Staging.

topology_staging.png

Click the pencil icon on the right to edit the Service.

pencil_icon.png

Click Add Service.

Screen Shot 2022-10-20 at 1.25.43 PM.png

Select the Generic Inline Layer 2 Service and click Add.

Screen Shot 2022-10-20 at 12.52.59 PM.png

Give it a name or leave the default.  Click Add under Network Configuration.

Screen Shot 2022-10-20 at 1.27.42 PM.png

Set the FROM and TO VLANS to the following and click Done.

Screen Shot 2022-10-20 at 12.53.41 PM.png

Click Save at the bottom.

Screen Shot 2022-10-20 at 1.33.33 PM.png

Click the Service Chain icon.

Screen Shot 2021-01-15 at 1.52.50 PM.png

Click the Staging_Chain.

Screen Shot 2021-01-15 at 1.54.16 PM.png

Move the GENERIC Service from Available to Selected and click Save.

Screen Shot 2022-10-20 at 1.33.17 PM.png
Screen Shot 2022-10-20 at 1.33.33 PM.png

Click OK.

Screen Shot 2021-01-21 at 11.14.25 AM.png

Click Deploy.

 Screen Shot 2021-01-15 at 1.59.16 PM.png

Click OK.

Screen Shot 2021-01-21 at 11.15.25 AM.png

Test functionality with a single client

We created a policy with source IP = 10.5.9.51 to use the new McAfee Web Gateway Service that we just performed maintenance on.

Go to that client computer and verify that everything is still working as expected.

As you can see this is the test client with IP 10.5.9.51. The page still loads for one of the web servers. 

Screen Shot 2022-10-27 at 11.51.58 AM.png

You can view the Certificate and see that it is not the same as the Production Certificate.

Screen Shot 2021-01-21 at 10.16.51 AM.png

Add the McAfee Web Gateway device back to the original Topology

From the SSL Orchestrator GUI select SSL Orchestrator > Configuration > Service Chains.

Screen Shot 2021-01-21 at 10.40.25 AM.png

Select the Staging_Chain.

Screen Shot 2021-01-21 at 10.42.06 AM.png

Select ssloS_GENERIC on the right and click the left arrow to remove Selected.

Screen Shot 2022-10-20 at 1.36.21 PM.png

Click Deploy when done.

Screen Shot 2022-10-20 at 1.36.33 PM.png

Click OK.

Screen Shot 2021-01-15 at 1.58.13 PM.png

Click OK to the Success message.

Screen Shot 2021-01-15 at 2.00.13 PM.png

From the SSL Orchestrator Guided Configuration select SSL Orchestrator > Configuration > Services.

Screen Shot 2022-10-20 at 1.40.09 PM.png

Select the GENERIC Service and click Delete.

Screen Shot 2022-10-20 at 1.42.26 PM.png

Click OK to the Warning.

Screen Shot 2021-01-21 at 11.25.02 AM.png

When that is done click the ssloS_McAfeeWebGateway Service.

Screen Shot 2022-10-20 at 1.43.58 PM.png

Click the Pencil icon to edit the Service.

Screen Shot 2021-01-15 at 11.13.31 AM.png

Under Network Configuration click Add

Screen Shot 2022-10-20 at 1.48.41 PM.png

Set the Ratio to the same value as MWG2, 65535 in this example.  Set the From and To VLAN the following and click Done.

Screen Shot 2022-10-20 at 12.53.55 PM.png

Click Save & Next at the bottom.

Screen Shot 2021-01-21 at 11.35.11 AM.png

Click OK.

Screen Shot 2021-01-21 at 11.35.58 AM.png

Click Deploy.

Screen Shot 2021-01-21 at 11.36.49 AM.png

Click OK.

Screen Shot 2021-01-21 at 11.38.01 AM.png

Test functionality again

Check the statistics on the McAfee Web Gateway device again. It’s “MWG1” in this example.  From the McAfee Web Gateway UI go to Troubleshooting > Packet tracing.  I set the Command line parameters to “-I ibr0” which will capture all packets on the bridge interface.

It should look like the following:

Screen Shot 2022-10-27 at 11.59.01 AM.png

This McAfee Web Gateway device is actively processing connections.

Repeat these steps to perform maintenance on the other McAfee Web Gateway device (not covered in this guide)

Related Articles

Integrating SSL Orchestrator with McAfee Web Gateway-Explicit Proxy

Version history
Last update:
‎17-May-2023 13:27
Updated by:
Contributors