以下是禁用F1000-AK1110公网WEB访问的排查和配置步骤:
排查与解决步骤:
1. 检查当前管理状态:
确认哪些接口开启了HTTP/HTTPS服务。
shell
display ip http
display ip https
2. 检查管理类ACL(如已配置):
查看是否有ACL限制访问源。
shell
display acl all
3. 解决方案(一):禁用公网接口的HTTP/HTTPS服务
进入连接公网的接口(例如 GigabitEthernet0/1),关闭其管理服务。
shell
system-view
interface GigabitEthernet0/1 // 替换为你的公网接口
undo ip http enable
undo ip https enable
quit
4. 解决方案(二):通过ACL全局限制
仅允许内网(如192.168.1.0/24)访问,拒绝公网。
shell
system-view
acl advanced 3000
rule permit tcp source 192.168.1.0 0.0.0.255 destination-port eq 80
rule permit tcp source 192.168.1.0 0.0.0.255 destination-port eq 443
rule deny tcp destination-port eq 80
rule deny tcp destination-port eq 443
quit
// 在外网入方向应用(或在全局/对象策略中调用,视具体版本而定)
// 或者直接将ACL绑定到HTTP/HTTPS服务(推荐)
ip http acl 3000
ip https acl 3000
注意: 默认情况下,接口下可能默认开启了管理服务,或者安全域(如Untrust域)被赋予了本地管理权限。
暂无评论