How to Disable Proxy Server Dialog Prompt for Access Gateway Plug-in for Java

How to Disable Proxy Server Dialog Prompt for Access Gateway Plug-in for Java

book

Article ID: CTX123004

calendar_today

Updated On:

Description

When using the Access Gateway plug-in (Java) on Access Gateway Enterprise Edition, the plug-in will change the proxy settings of the browser to be able to send the traffic through the tunnel. The proxy then points to 127.0.0.1:3128.

When using browsers other than Internet Explorer, automatic proxy configuration is not available and the following dialog box appears at logon prompting users to manually change the proxy settings:

User-added image

The following dialog box appears after logging off from the Access Gateway:

User-added image

This article describes how to disable these prompts.


Instructions

Complete the following steps to disable proxy server dialog prompt for Access Gateway plug-in for Java:

  1. Using WinSCP, connect to the Access Gateway and navigate to the /netscaler/ns_gui/vpns folder.

    User-added image

  2. Double-click the vpn.html file to open it.

  3. Locate the showProxyConfigPrompt line (this should be on line number 8) and change the value from true to false.

    User-added image

  4. Click Save or press Ctrl+S keys to save the changes. The file is successfully changed, but the changes do not survive a appliance restart.

  5. To ensure that the preceding settings survive a restart of the appliance, using WinSCP, go to /var folder and create a new folder called vpnsmod.

    User-added image

    User-added image

    User-added image

  6. Copy the changed vpn.html file (located in /netscaler/ns_gui/vpns folder) to the computer desktopĀ (drag and drop) and then to the vpnsmod folder (located under /var folder).
    The following dialog boxes appear:

    User-added image

    User-added image

  7. To preserve these changes across system reboots, a file called rc.netscaler must be created under /nsconfig folder. The simplest way is to create a text file on the computer, edit and then rename it to rc.netscaler. The file should contain the following line:
    cp -r /var/vpnsmod/* /netscaler/ns_gui/vpns/

    Using WinSCP, copy it to /nsconfig folder.
    Note: If rc.netscaler file already exists under /nsconfig, then edit it and add the preceding mentioned line.

Environment

The above mentioned sample code is provided to you as is with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the sample code. In no event should the code be used to support ultra-hazardous activities, including but not limited to life support or blasting activities. NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Although the copyright in the code belongs to Citrix, any distribution of the sample code should include only your own standard copyright attribution, and not that of Citrix. You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the sample code.

Issue/Introduction

This article describes how to disable proxy server dialog prompt for Access Gateway plug-in for Java.