如何在 IPSec 中启用 WCF net.tcp?
我正在尝试使用 WCF.NET NET-TCP 协议从一个 Web 应用程序连接到另一个 Web 应用程序。这个 net.tcp 协议在 IIS 中启用,在我的例子中使用端口 TCP 808。 我已在服务器中配置了 IP 过滤器,但它会阻止两个应用程序之间的连接,除非我完全禁用 IP 过滤器。
这是我尝试添加的规则,但不起作用:
Source address: Any IP Address
Destination address: My IP Address
Protocol: 6 (TCP)
From Port: Any port
To Port: 808
Action: Permit
使用 TCPView,当连接被阻止时显示:
Protocol Local Address Remote Address Status
TCP server.com:64706 server.com:808 SYN_SENT
How do I allowed this links?谢谢!
I'm trying to connect from a web app to another web app using the WCF.NET NET-TCP protocol. This net.tcp protocol is enabled in IIS and is using the port TCP 808 in my case.
I've configured IP Filter in the server, but it blocks the connection between both applications unless I completely disable IP Filter.
This is the rule I've tried to add, and which doesn't work:
Source address: Any IP Address
Destination address: My IP Address
Protocol: 6 (TCP)
From Port: Any port
To Port: 808
Action: Permit
Using TCPView, when the connection is blocked shows:
Protocol Local Address Remote Address Status
TCP server.com:64706 server.com:808 SYN_SENT
How do I permit this connections? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了解决方案。
如果有 IP ->我的IP是传入规则,那么我也必须添加传出规则;这将是我的 IP ->任何IP。
详细信息:
希望这有帮助。
I've found the solution.
If Any IP -> My IP is the ingoing rule, then I had to add the outgoing rule too; which would be My IP -> Any IP.
Details:
Hope this helps.