You are here: 管理员指南 > Securing FME Server > Using FME Server with a Proxy Server

Using FME Server with a Proxy Server

Proxy Server是LAN上的计算机,允许您连接到外部服务器,而不会影响内部网络的安全性。如果你正在享受FME服务器服务您的组织在网络上使用代理服务器,您可以将FME服务器配置为通过代理连接。

1.设置代理服务器连接

To connect FME Server to a proxy server, follow the appropriate set of instructions, depending on theWindows account that is running the FME Server system services:

Note:确定运行的帐户FME Server system services, run服务.MSC.. In the Services dialog, the account that is running any of the FME Server-related services is listed underLog On As.

2. Make the FME Engines Aware of the Proxy Server

  1. 以管理员身份运行Windows命令提示符,并导航到:$(FME_SERVER_HOME)\Server\fme
  2. 运行以下命令:
  3. fme.exe apply_settings系统“代理/代理设置”“使用System Proxy”

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Proxy Authentication Method" "<基本的|Digest|NTLM>“

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Proxy Server Require Authentication" "true"

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Proxy Username" "<UserName>“

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Proxy Password" "fme_encrypt(<password>)“

    Where:

    • is基本的,消化, orntlm., depending on the authentication method used by the proxy server. If not specified,基本的假设。
    • is the user name for running the proxy server.
    • <密码>is the password for the proxy server account.

    Specifying Custom Proxy Maps

    You can specify custom proxy maps in addition to, or instead of, using the system proxy. A custom proxy map allows you to map access to specific URLs through an alternative proxy on your system. Use a custom proxy map if you need to bypass your network's default rules or system proxy settings in order to access these URLs.

    要通过自定义代理映射对URL的访问,请为每个URL运行此命令:

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Custom Proxy Map" ",,,,,,"

    Where:

    • is the URL you want to access. The URL must be an exact match with the URL in the request; for example,http://www.lib.uwaterloo.ca/locations/umd/digitization_project/roads_ntdb.zip..
    • is the URL of the proxy server on your system that will handle requests to the.
    • 是代理服务器上的端口号,通过处理请求。
    • < Requires_Authentication >is真的或者false,取决于代理服务器是否需要身份验证来访问。如果真的, 提供,<密码>, 和(基本的,消化, orntlm.).

    Other Notes

    To use a proxy server without authentication, instead specify:

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Proxy Server Require Authentication" "false"

    要停止使用代理服务器,请运行:

    fme.exe APPLY_SETTINGS SYSTEM "Proxy/Proxy Setting" "No Proxy"