Microsoft TMG Replacement with NetScaler



Similar documents
icrosoft TMG Replacement with NetScaler

Deploying Microsoft Dynamics CRM 2015 with NetScaler

Single Sign On for ShareFile with NetScaler. Deployment Guide

Deploying NetScaler with Microsoft Exchange 2016

Solutions Guide. Deploying Citrix NetScaler with Microsoft Exchange 2013 for GSLB. citrix.com

Microsoft SharePoint 2013 with Citrix NetScaler

Solution Guide. Optimizing Microsoft SharePoint 2013 with Citrix NetScaler. citrix.com

Securing Outlook Web Access (OWA) 2013 with NetScaler AppFirewall

Deploying NetScaler Gateway in ICA Proxy Mode

Microsoft Dynamics CRM 2015 with NetScaler for Global Server Load Balancing

Configuring Citrix NetScaler for IBM WebSphere Application Services

Using Vasco IDENTIKEY Server with NetScaler

Guide to Deploying Microsoft Exchange 2013 with Citrix NetScaler

Citrix NetScaler and Microsoft SharePoint 2013 Hybrid Deployment Guide

Citrix Lifecycle Management

How To Use Netscaler As An Afs Proxy

Microsoft Exchange 2013 with NetScaler: Authentication and Optimization

Solutions Guide. Deploying Citrix NetScaler for Global Server Load Balancing of Microsoft Lync citrix.com

Citrix Workspace Cloud Apps and Desktop Service with an on-premises Resource Reference Architecture

NetScaler: A comprehensive replacement for Microsoft Forefront Threat Management Gateway

Solution Guide for Citrix NetScaler and Cisco APIC EM

Cisco and Citrix: Building Application Centric, ADC-enabled Data Centers

Taking Windows Mobile on Any Device

White Paper. Optimizing the video experience for XenApp and XenDesktop deployments with CloudBridge. citrix.com

Replacing Microsoft Forefront TMG with Citrix NetScaler for enterprise authentication

Cisco and Citrix: Building Application Centric, ADC-enabled Data Centers

Provisioning ShareFile on Microsoft Azure Storage

Single Sign On for GoToMeeting with NetScaler

XenApp and XenDesktop 7.8 AppDisk & AppDNA for AppDisk technology

NetScaler carriergrade network

Single Sign On for ZenDesk with NetScaler. Deployment Guide

Citrix desktop virtualization and Microsoft System Center 2012: better together

The Office Reinvented: Mobile Workspaces are the Future of Work

Optimizing service assurance for XenServer virtual infrastructures with Xangati

Modernize your business with Citrix XenApp 7.6

Run Skype for Business as a Secure Virtual App with a Great User Experience

Replacing Microsoft Forefront TMG with Citrix NetScaler for Website Publishing

Windows XP Application Migration Checklist

This guide identifies two possible enterprise integration scenarios for NetScaler and Azure AD.

Application Template Deployment Guide

603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide

Solution Brief. Deliver Production Grade OpenStack LBaaS with Citrix NetScaler. citrix.com

Single Sign On for Google Apps with NetScaler. Deployment Guide

SolidFire SF3010 All-SSD storage system with Citrix CloudPlatform Reference Architecture

Deployment Guide. Microsoft SharePoint Deployment Guide. Utilizing the Acceleration and Optimization Features of Citrix NetScaler A Technical Guide

White Paper. Protecting Mobile Apps with Citrix XenMobile and MDX. citrix.com

Citrix TriScale clustering tech note

Trend Micro InterScan Web Security and Citrix NetScaler SDX Platform Overview

Data Center Consolidation for Federal Government

The Trainer s Guide to Using Video Streaming, Video Conferencing and On-Demand Video

Websense Data Security Gateway and Citrix NetScaler SDX Platform Overview

Secure remote access

How To Get Cloud Services To Work For You

White Paper. SDN 101: An Introduction to Software Defined Networking. citrix.com

Secure SSL, Fast SSL

Solve the application visibility challenge with NetScaler Insight Center

Top Three Reasons to Deliver Web Apps with App Virtualization

Cisco ACI and Citrix NetScaler: Opening the Way to Data Center Agility

Deploying XenApp on a Microsoft Azure cloud

Secure remote access

The Always-on Enterprise: Business Continuity Scenarios that Work

Mobilize with Enterprise-Grade Security and a Great Experience

Advanced Service Desk Security

Deliver the Next Generation Intelligent Datacenter Fabric with the Cisco Nexus 1000V, Citrix NetScaler Application Delivery Controller and Cisco vpath

The falling cost and rising value of desktop virtualization

RSA Adaptive Authentication and Citrix NetScaler SDX Platform Overview

Citrix Support and Maintenance Services

White Paper. Optimizing your Microsoft application and infrastructure investments with Citrix CloudBridge. citrix.com

Deploying XenApp 7.5 on Microsoft Azure cloud

How To Install A Citrix Netscaler On A Pc Or Mac Or Ipad (For A Web Browser) With A Certificate Certificate (For An Ipad) On A Netscaler (For Windows) With An Ipro (For

BlueCat Networks Adonis and Proteus on Citrix NetScaler SDX Platform Overview

Three ways companies are slashing IT costs with VDI

Powering Real-Time Mobile Access to Critical Information With Citrix ShareFile

Citrix Solutions. Overview

Design and deliver cloudbased apps and data for flexible, on-demand IT

Single Sign On for Office 365 with NetScaler. Deployment Guide

Desktop virtualization for all

White Paper. The Value Add of Citrix Enterprise Mobility Management over App Configuration for the Enterprise. citrix.com

Powering real-time mobile access to critical information with ShareFile

The top 5 truths behind what the cloud is not

Desktop virtualization for all

BlueCat IPAM, DNS and DHCP Solutions on Citrix NetScaler SDX Platform Overview

Ensure VoIP and Skype for Business Call Quality and Reliability with NetScaler SD-WAN

5 Reasons Why GoToAssist Remote Support and Service Desk Go Better Together

Fullerton India enhances its employee productivity and efficiency with Citrix XenDesktop

Desktop virtualization for all - technical overview citrix.com

Citrix and Pure Storage enable fearless innovation at University of Louisville School of Dentistry

Improving Microsoft Exchange 2013 performance with NetScaler Hands-on Lab Exercise Guide. Johnathan Campos

Trend Micro Cloud Security for Citrix CloudPlatform

Virtual desktops in hospitals: streamlining clinical workflows

Enabling mobile workstyles with an end-to-end enterprise mobility management solution.

Mobility and cloud transform access and delivery of apps, desktops and data

Transcription:

Microsoft TMG Replacement with NetScaler Replacing Microsoft Forefront TMG with NetScaler for Optimization This deployment guide focuses on replacing Microsoft Forefront Threat Management Gateway (TMG) with NetScaler for application optimization.

Table of Contents Introduction 3 Configuration details 3 NetScaler features to be enabled 3 Solution description 5 Part 1: Configuring optimization on TMG 5 HTTP compression 5 URL filtering 6 Web caching 8 Part 2: Configuring optimization on NetScaler 10 HTTP compression 10 Integrated caching 12 Front-end optimization 17 Content filtering on NetScaler with Responder and Rewrite 19 Conclusion 23 2

NetScaler is a world-class application delivery controller (ADC) with the proven ability to load balance, accelerate, optimize and secure enterprise applications. Forefront TMG can help improve network performance with web traffic compression and caching of frequently accessed web resources, which allows them to be accessed faster. In this guide, we explain how to replicate TMG optimization functionality with NetScaler by comparing the configuration process on TMG with the configuration process on NetScaler. The guide then highlights the additional possibilities that NetScaler enables, such as advanced URL filtering and rewriting using custom policies and selective, policy driven caching capabilities. The following TMG features are replicated with NetScaler in this guide: Networking and performance Caching HTTP compression URL filtering Configuration Details Product Forefront TMG NetScaler VPX Version 2010 SP1 10.5 (Enterprise License) NetScaler features to be enabled The essential NetScaler features that need to be enabled are described below. Please ensure they are enabled in the NetScaler system. Content switching, load balancing, Rewrite and HTTP compression can be found under System>Settings>Configure Basic Features. Front-end optimization (FEO) and Responder can be found under System>Settings>Configure Advanced Features Here is a quick explanation of how these features work. 3

Content switching The content switching module directs incoming traffic to a matching load balancing virtual server. This logical switching of incoming traffic based on content type allows configuration of specific optimization policies. Load balancing NetScaler load balancing evenly distributes requests to backend servers. Multiple algorithms (such as LEASTCONNECTION, ROUNDROBIN, etc.) are supported to provide efficient load balancing logic for every application server. HTTP compression Compression of HTTP traffic is performed using standard GZIP/DEFLATE methods. Rewrite and Responder Rewrite and Responder are advanced policy driven features that enable NetScaler to effectively process user-entered URLs by rewriting them for accuracy or redirecting them to the appropriate page, posting an appropriate error when required and other URL filtered responses. Front-end optimization An advanced optimization feature, FEO enables NetScaler to significantly accelerate web content with methods such as image compression. Integrated caching Content caching allows NetScaler to serve frequently used content without requiring round trips to the source web server. 4

Solution description Part 1: Configuring optimization on TMG Open the Forefront TMG console, then right-click the Web Access Policy node in the left pane of the main window to gain access to TMG optimization settings, as shown below. Here, the following optimization options are available: HTTP compression URL filtering Web caching To enable or disable each of these features, click on the hyperlinked status prompt next to the feature name, which gives a pop-up that allows configuration of the feature. HTTP compression 5

This is the prompt provided for HTTP compression. Here, the only available option is to enable or disable HTTP compression. The two additional tabs, as described in the prompt, allow definition of the network clients from which compressed HTTP responses are to be sent/returned to (Return Compressed Data) or requested from (Request Compressed Data). Return Compressed Data Prompt Request Compressed Data Prompt URL filtering The URL filtering feature enables traffic to certain websites to be allowed or blocked based on access rules linked to URL categories. This feature helps to optimize bandwidth consumption by restricting use of unnecessary websites. 6

The URL filtering prompt allows you to enable or disable the feature; URL categorization is determined using the Microsoft Reputation Service as described in the prompt. However, it is possible to override the category of a particular URL using the URL Category Override tab (shown below), thus controlling access to websites directly. The Category Query tab allows verification of the listed category for a particular URL. License Details allows you to update licenses for access to Web Protection Services; expired licenses can be extended only up to December 31, 2015, using information provided at https://support.microsoft.com/en-us/ kb/2793998?wa=wsignin1.0 7

Web caching TMG s web caching feature is disabled by default. To enable it, you should first allocate some disk space for a cache drive that TMG then uses to handle web caching. To enable caching, create a new cache drive by going to the Cache Drives tab and adding cache capacity. 8

As shown above, click on Configure to set up cache capacity. This will give you the following window where cache capacity can be defined: Additionally, TMG allows creation of cache rules that define how caching for a particular network should be handled. The Advanced settings tab provides additional configuration options, as shown below: 9

Part 2: Configuring optimization on NetScaler NetScaler provides a flexible, comprehensive suite of optimization capabilities that can be categorized as follows: HTTP compression (equivalent to TMG s similarly named feature) Integrated caching (equivalent to web caching on TMG) Front-end optimization (additional optimization capabilities) Responder and Rewrite (provide URL and other filtering capabilities) To configure HTTP compression, integrated caching and FEO, expand the Optimization tab in the NetScaler GUI s left-hand navigation panel. HTTP compression The NetScaler optimization suite is, like other NetScaler features, driven by a policy-action architecture. To enable HTTP compression for a particular service, you should: Define the HTTP Compression Policy and Action relevant to the service Bind the service to the relevant virtual server To define the Compression Policy and Action, click on the Policies option under HTTP Compression, shown above. This gives you the following screen: 10

To add a new compression policy, click the Add button. This will give you the following screen: Here, you can define a name for the policy, and an expression that defines when this policy is triggered (for example, when a particular URL is encountered.) To make the policy apply to all content, use ns_true in the Expression window. For assistance here, click on the Frequently Used Expressions drop down and the Response Action that should be taken. Here, the actions available are COMPRESS (GZIP or DEFLATE compression, with GZIP given priority), GZIP (GZIP standard compression), DEFLATE (DEFLATE compression) and NOCOMPRESS. You can either add a new action or reconfigure the existing ones. You can add using the + button, or edit/configure using the pencil-shaped button. Either option gives you a screen similar to the one shown below: 11

Vary Header Insertion is an option that is relevant for caching; the value of the Vary header allows different cache results to be returned for similar requests. For now, we are not changing the options presented here. You can add a new action that uses a compression type of your choice. Integrated caching After you enable the integrated cache feature and perform basic setup (for example, determining the amount of NetScaler appliance memory the cache is permitted to use), the integrated cache uses built-in policies to store and serve specific types of static content, including simple web pages and image files. You can also configure the integrated cache to store and serve dynamic content that is usually marked as non-cacheable by web and application servers (for example, database records and stock quotes). To configure caching, you can use the integrated wizard that makes configuration very straightforward. To initiate the wizard, navigate to Optimization>Integrated Caching as shown below: 12

You can initiate the Caching Wizard under Getting Started. The first step requires you to specify the content type. This can be either static (examples given) or dynamic. Helpful hints are provided as shown above to help determine which type of content is relevant for you. The next step involves defining which content should be cached. The Frequently Used Expressions dropdown helps you define the correct expression; however, if you want the caching policy to run for all content, you can use ns_true as the expression, as shown below: 13

The next screen allows you to define when content expires. This can be custom (a defined interval) or heuristic (NetScaler makes the determination based on a guideline percentage of the time since the object was last modified, with a deadline to be set that is used in case the heuristic measurement cannot be made). The next step involves definition of the caching space to be used on NetScaler and the minimum size of objects to be cached. 14

Finally, the cache policy should be bound to a relevant LB or CS vserver. These definitions can be made under Cache Policies as shown in the screenshot above. With respect to dynamic caching, NetScaler allows configuration of selectors and content groups. 15

Selectors and content groups A content group is a container for cached objects that can be served in a response. When you first enable the integrated cache, cacheable objects are stored in a content group named Default. You can create new content groups that have unique properties. For example, you can define separate content groups for image data, bug reports and stock quotes, and you can configure the stock quote content group to be refreshed more often than the other groups. You can configure expiration of an entire content group or selected entries in a content group. The data in a content group can be static or dynamic: Static content groups Find an exact match between the URL stem and host name on the request and the URL stem and host name of the response Dynamic content groups Look for objects that contain particular parameter-value pairs, arbitrary strings or string patterns. Dynamic content groups are useful when caching data that is updated frequently (for example, a bug report or a stock quote) When you add a selector to one or more content groups, you specify whether the selector is to be used for identifying cache hits or identifying cached objects to be invalidated (expired). Selectors are optional. Alternatively, you can configure content groups to use hit parameters and invalidation parameters. However, Citrix recommends that you configure selectors. Both of these features can be accessed using the navigation menu in the NetScaler GUI. For more-detailed information on integrated caching and the features described above, please refer to http://support./proddocs/topic/ns-optimization-10-5-map/ns-ic-genwrapper-10-con.html 16

Front-end optimization The FEO feature set makes NetScaler an extremely capable optimization device by implementing enhanced optimization routines for specific front-end entities such as images, JavaScript etc. These provide far better optimization performance than that achieved by compression and caching. FEO capabilities can be activated by navigating to Optimization>Front End Optimization. As with all NetScaler features, FEO capabilities are implemented using a policy-action mechanism. To add a new policy, click on Policies then click Add in the section displayed to the right of the navigation menu. This will give you the following screen for definition of a new FEO policy. 17

The Expression here works much on the same lines as expressed for the earlier features; the Frequently Used Expressions drop down can be used for assistance. There are certain predefined actions that can be assigned here, all of which have different configurations for the same settings; you can also either edit or create a custom action, which can be done using the plus or pencil buttons next to the Action name. Upon clicking either of these buttons, the following screen (or a similar one) is shown: This screen presents all the various FEO options available; NetScaler can help to optimize web traffic with JavaScript, image, cascading style sheets (CSS), HTML and miscellaneous optimization. This last section also allows for domain sharding, which splits resources across subdomains to improve optimization and page load times. 18

For FEO implementation, it is recommended that you try out different built-in profiles/create custom profiles to see which of the available optimization options can be used without affecting performance. Begin with basic, evaluate performance and then move on to moderate/aggressive to find the profile that gives you best performance improvements. NetScaler advantage FEO allows NetScaler to significantly accelerate content across the network by optimizing common sources of inefficiencies in page load times. This provides a big advantage over the standard cache and compression capabilities of TMG, which are also supported by NetScaler. Content filtering on NetScaler with Responder and Rewrite The URL filtering capability with NetScaler can be found under AppExpert>Responder on the left-hand navigation menu in the NetScaler GUI. The Responder feature provides several options over and above the standard URL filtering capabilities of TMG. 19

With the Responder feature, responses can be based on who sends the request, where it is sent from and other criteria with security and system management implications. The feature is simple and quick to use. By avoiding the invocation of more-complex features, it reduces CPU cycles and time spent in handling requests that do not require complex processing. For example, for handling sensitive data such as financial information, if you want to ensure that the client uses a secure connection to browse a site, you can redirect the request to secure connection by using https:// instead of http://. To use the Responder feature, first enable it on NetScaler from System>Settings>Configure Advanced Features. Then, navigate to AppExpert>Responder and click Policies to add a new policy. After clicking Add, the next screen allows you to configure the policy as well as the action bound to it. 20

The policy determines the requests (traffic) for which an action has to be taken. This determination is made using the expression provided by the administrator. Multiple frequently used expressions are available for use, as shown below. To configure the action bound to this policy, click the pencil-shaped icon next to the action name indicated. Note that you will not be able to edit the default policies, only custom ones that you have created. To add a new policy, click the plus-shaped icon. The action can be to generate a custom response or redirect a request to a different, custom web page. The policy must be bound to a bind point put it into effect. A bind point refers to an entity where NetScaler examines the traffic to see if it matches a policy. For example, a bind point can be a load balancing virtual server. 21

You can specify a default action for requests that do not match any policy, and you can bypass the safety check for actions that would otherwise generate error messages. The Rewrite feature helps in rewriting some information in the requests or responses handled by NetScaler. For example, the following Rewrite action adds the /owa string to any user URL when it contains the organization s email domain. The policy that enables this action to be performed when the URL contains the organization s mail domain is defined as follows (again, these are configurable in the AppExpert>Rewrite section under Policies and Actions): 22

Here, KCD_Rewrite is the policy name, and TMG_Add_OWA is the action we defined earlier. There are differences between the Rewrite and Responder features. Responder cannot be used for response- or server-based expressions. Responder can be used only for the following scenarios, depending on client parameters: Redirecting an HTTP request to new websites or web pages Responding with a custom response Dropping or resetting a connection at the request level For a Responder policy, the NetScaler device examines the request from the client, takes action according to the applicable policies, sends the response to the client and closes the connection with the client. For a Rewrite policy, the NetScaler device examines the request from the client or response from the server, takes action according to the applicable policies and forwards the traffic to the client or the server. In general, it is recommended to use Responder if you want NetScaler to reset or drop a connection based on a client- or request-based parameter. Use Responder to redirect traffic or respond with custom messages. Use Rewrite for manipulating data on HTTP requests and responses. Conclusion NetScaler provides a complete and enhanced replacement for Microsoft Forefront TMG for enterprise optimization of web content. As indicated by the NetScaler Advantage callout, the Citrix solution presents benefits over TMG for enterprises and provides a wide range of optimization options, not only improving on TMG s own capabilities but also adding the significant benefit of FEO. Corporate Headquarters Fort Lauderdale, FL, USA India Development Center Bangalore, India Latin America Headquarters Coral Gables, FL, USA Silicon Valley Headquarters Santa Clara, CA, USA Online Division Headquarters Santa Barbara, CA, USA UK Development Center Chalfont, United Kingdom EMEA Headquarters Schaffhausen, Switzerland Pacific Headquarters Hong Kong, China About Citrix Citrix (NASDAQ:CTXS) is leading the transition to software-defining the workplace, uniting virtualization, mobility management, networking and SaaS solutions to enable new ways for businesses and people to work better. Citrix solutions power business mobility through secure, mobile workspaces that provide people with instant access to apps, desktops, data and communications on any device, over any network and cloud. With annual revenue in 2014 of $3.14 billion, Citrix solutions are in use at more than 330,000 organizations and by over 100 million users globally. Learn more at www.. Copyright 2015 Citrix Systems, Inc. All rights reserved. Citrix and NetScaler are trademarks of Citrix Systems, Inc. and/or one of its subsidiaries, and may be registered in the U.S. and other countries. Other product and company names mentioned herein may be trademarks of their respective companies. 0715/PDF/10309 23