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.
- On all machines hosting FME Engines, log on to Windows using an administrator account.
- Run the Windows Command Prompt as administrator, and execute the following commands:
netsh
winhttp
set proxy <ProxyServerName>: <port_no.>
Where
例如:
netsh
winhttp
设置代理MyProxy:80
Note:For more information about theset proxy
syntax, seehttps://technet.microsoft.com/en-us/library/cc731131.aspx#BKMK_5
- 在运行FME引擎的所有计算机上,使用该机器登录Windows运行FME引擎的帐户.
- From theStartmenu, chooseControl Panel > Internet Options > Connections > LAN settings.
- Check the box besideUse a proxy server for your LAN.
- 输入代理服务器的地址和端口号。点击好的.
- Test the connection to your proxy server. Open a browser and navigate to a web site. If the connection is set up properly, you are prompted to provide proxy server credentials before the web site opens.
2. Make the FME Engines Aware of the Proxy Server
- 以管理员身份运行Windows命令提示符,并导航到:
$(FME_SERVER_HOME)\Server\fme
- 运行以下命令:
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.
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.).
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:
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:
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"