Manage Citrix Gateway configuration settings
When you make configuration changes to Citrix Gateway, the changes are saved in log files. You can view several types of configuration settings:
- Saved configuration. You can view the settings you have saved on Citrix Gateway.
- Running configuration. You can view active settings, such as a virtual server or authentication policy, that you have configured but have not saved as a saved configuration to Citrix Gateway.
- Running versus saved configuration. You can compare side by side the running and saved configuration on Citrix Gateway.
You can also clear configuration settings on Citrix Gateway.
Important: If you choose to clear settings on Citrix Gateway, certificates, virtual servers, and policies are removed. Citrix recommends that you do not clear the configuration.
Save the Citrix Gateway Configuration
You can save your current configuration on Citrix Gateway to a computer in your network, view the current running configuration, and compare the saved and running configurations.
To save the configuration on Citrix Gateway
- In the configuration utility, above the details pane, click the Save icon and then click Yes.
To view and save the configuration file on Citrix Gateway
The saved configuration are the settings that are saved in a log file on Citrix Gateway, such as settings for virtual servers, policies, IP addresses, users, groups, and certificates.
When you configure settings on Citrix Gateway, you can save the settings to a file on your computer. If you need to reinstall the Citrix Gateway software or you accidentally remove some settings, you can use this file to restore your configuration. If you need to restore the settings, you can copy the file to Citrix Gateway and restart the appliance by using the command-line interface or a program, such as WinSCP, to copy the file to Citrix Gateway.
- 配置实用程序,配置tab, in the navigation pane, expand System and then click Diagnostics.
- In the details pane, under View Configuration, click Saved configuration.
- In the Saved Configuration dialog box, click Save output text to a file, name the file, and then click Save. Note: Citrix recommends saving the file using the file name ns.conf.
To view the current running configuration
Any changes to Citrix Gateway that occur without an effort to save them is called the running configuration. These settings are active on Citrix Gateway, but are not saved on the appliance. If you configured additional settings, such as a policy, virtual server, users, or groups, you can view these settings in the running configuration.
- 配置实用程序,配置tab, in the navigation pane, expand System and then click Diagnostics.
- In the details pane, under View Configuration, click Running configuration.
To compare the saved and running configuration
You can see which settings are saved on the appliance and compare those settings against the running configuration. You can choose to save the running configuration or make changes to the configuration.
- 配置实用程序,配置tab, in the navigation pane, expand System and then click Diagnostics.
- In the details pane, under View Configuration, click Saved v/s running.
Clear the Citrix Gateway configuration
You can clear the configuration settings on Citrix Gateway. You can choose from among the following three levels of settings to clear:
Important: Citrix recommends saving your configuration before you clear the Citrix Gateway configuration settings.
- 基本的。清除所有设置在设备除外for the system IP address, default gateway, mapped IP addresses, subnet IP addresses, DNS settings, network settings, high availability settings, administrative password, and feature and mode settings.
- Extended. Clears all settings except for the system IP address, mapped IP addresses, subnet IP addresses, DNS settings, and high availability definitions.
- Full. Restores the configuration to the original factory settings, excluding the system IP (NSIP) address and default route, which are required to maintain network connectivity to the appliance.
When you clear all or part of the configuration, the feature settings are set to the factory default settings.
When you clear the configuration, files that are stored on Citrix Gateway, such as certificates and licenses, are not removed. The file ns.conf is not altered. If you want to save the configuration before clearing the configuration, save the configuration to your computer first. If you save the configuration, you can restore the ns.conf file on Citrix Gateway. After you restore the file to the appliance and restart Citrix Gateway, any configuration settings in ns.conf are restored.
Modifications to configuration files, such as rc.conf, are not reverted.
If you have a high availability pair, both Citrix Gateway appliances are modified identically. For example, if you clear the basic configuration on one appliance, the changes are propagated to the second appliance.
To clear Citrix Gateway configuration settings
- 配置实用程序,配置tab, in the navigation pane, expand System and then click Diagnostics.
- In the details pane, under Maintenance, click Clear configuration.
- 在配置水平,选择你想要的水平to clear and then click Run.