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:
127.0.0.1 telnet1
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