Configuring application access for the Citrix 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 Citrix Gateway plug-in for Java, in theSecure Access Remote Sessiondialog box, users can clickApplications. TheIntranet Applicationsdialog box appears and lists all the applications the user is authorized to access.
When users are connected with the Citrix 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 Citrix Gateway plug-in for Java adds an entry that corresponds to the applications that 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.
例如,你想使用Telnet连接到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 must 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 Citrix 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 theIntranet Applicationsdialog box.
To open theIntranet Applicationsdialog box and locate the IP address and port number
- When users log on with the plug-in, in theSecure Remote Accessdialog box, clickApplications.
- Find the application in the list and note the
SourceIP
address andSourcePort
number.
When you have the IP address and port number, start a Telnet session to connect to the computer in the remote network.