Configuring Application Access for the NetScaler Gateway Plug-in for Java
You can configure the access level and the applications users are allowed to access in the secure network. If users are logged on by using the NetScaler Gateway Plug-in for Java, in the Secure Access Remote Session dialog box, users can click Applications. The Intranet Applications dialog box appears and lists all of the applications the user is authorized to access.
When users are connected with the NetScaler Gateway Plug-in for Java, you can configure one of two methods that allow users to access applications.
- HOSTS File Modification method
- SourceIP and SourcePort method
Accessing Applications by Using the HOSTS File Modification Method
When you use the HOSTS File Modification method, the NetScaler Gateway Plug-in for Java adds an entry that corresponds to the applications that the you configure in the HOSTS file. To modify this file on a Windows-based device, you must be logged on as an administrator or have administrator privileges. If you are not logged on with administrator privileges, manually edit the HOSTS file and add the appropriate entries.
Note: On a Windows-based computer, the HOSTS file is located in the following directory path: %systemroot%\system32\drivers\etc. On a Macintosh or Linux computer, the HOSTS file is located at /etc/hosts.
For example, you want to use Telnet to connect to a computer in the secure network. You use the remote computer to work both within your secure network and remotely—for example, from home. The IP address should be the localhost IP address, 127.0.0.1. In the HOSTS file, you add the IP address and the application name, such as:
When the HOSTS file is edited and saved on the user device, you test your connection. You can test your connection by opening a command prompt and using Telnet to connect. If users are employing a user device that is not within the secure network, log on to NetScaler Gateway before starting Telnet.
To connect to a computer in the secure network:
Start a Telnet session using the available software for your computer.
From a command prompt, type: Open telnet
The logon prompt of the remote computer appears.
Accessing Applications by Using the SourceIP and SourcePort Method
If users need to access an application in the secure network and do not have administrative rights on the user device, configure the HOSTS file by using the source IP address and port number that is located in the Intranet Applications dialog box.
To open the Intranet Applications dialog box and locate the IP address and port number
- When users log on with the plug-in, in the Secure Remote Access dialog box, click Applications.
- Find the application in the list and note the SourceIP address and SourcePort number.
When you have the IP address and port number, start a Telnet session to connect to the computer in the remote network.