WEC 7 - 防火墙 [英] WEC 7 - Firewall

查看:115
本文介绍了WEC 7 - 防火墙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的WEC 7设备中实施防火墙。我能够在我的操作系统中构建防火墙组件,现在尝试更改防火墙的默认配置。

I am trying to implement firewall in my WEC 7 device. I am able to build the firewall component in my OS and now trying to change the default configuration of firewall.

具体来说,我希望能够允许我的设备通过DHCP获取IP地址,是特定端口上的ping-able和主机webserver。这几乎是我所需要的,休息应该被阻止。

Specifically, I want to be able to allow my device to obtain IP address via DHCP, is ping-able and host webserver on a specific port. That is pretty much all I need and rest should be blocked.

从MSDN文档来看,似乎能够做到这一点,我会有使用WFP功能修改现有过滤器。但我找不到任何好的示例源代码。任何指针?

From MSDN documentation, it seems that to be able to do the above, I will have to modify existing filters using WFP functions. But I can't find any good example source code. Any pointers?

谢谢,

Samie

推荐答案

<另外,我的理解是默认情况下防火墙在通过SYSGEN_FIREWALL包含在操作系统中时启用,但似乎不是。

Also, my understanding was that firewall is enabled by default when included in the OS via SYSGEN_FIREWALL, but it seems like it is not.

对于WEC 7之前的OS版本,我认为它是通过防火墙启用/禁用API完成的,但是对于WEC 7,它似乎全部通过WFP完成。

For OS versions prior to WEC 7, I think it was done through Firewall enable/disable API but with WEC 7 it appears all is done via WFP.

我们如何启用默认的防火墙设置,因为从我所看到的仅包括我操作系统中的防火墙不能启用它,我无法弄清楚如何启动/停止它。

How do we enable even the default firewall settings because from what I can see just including the firewall in my OS does not enable it and I can't figure out how to start/stop it.

谢谢,

Samie


这篇关于WEC 7 - 防火墙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆