我在防火墙一侧的服务器上有一个 WCF 服务.我需要从防火墙另一侧的许多工作站访问该服务.网络人员坚持认为所有穿过防火墙的漏洞都是一对一的,所以在mo 中,我必须一一设置每个工作站.可能会有负载,它会变得乏味并且容易出错.
I've got a WCF service on a server on one side of a firewall. I need to access the service from many workstations on the other side of the firewall. The network guys insist that all holes through the firewall are one-to-one so at the mo, I'll have to set up every workstation one by one. There could be loads and it'll get tedious and be prone to errors.
是否可以在防火墙的这一侧设置一个 WCF 服务器,它可以以某种巧妙的方式充当防火墙另一侧真实"WCF 服务的代理?如果是这样,你能指点我一些参考资料吗?
Is it possible to set up a WCF server on this side of the firewall that can in some clever way just act as a proxy to the 'real' WCF service on the other side of the firewall? If so, could you point me to some reference material?
推荐答案我有一些建议,也许适合你的情况:
I have a few suggestions, maybe one would work in your case:
- 将 WCF 服务置于防火墙之外.如果 WCF 服务需要与数据库通信,请为运行 WCF 服务的机器的 IP 地址打开数据库端口.
- 编程或使用代码生成来创建一个 WCF 服务,它只是一个传递层
- 您的防火墙中可能有一些功能允许您发布端点
更多推荐
是否可以从另一台服务器“中继"WCF 服务?
发布评论