华为Me60 bras web认证 portal认证配置

samool 发布暂无评论10591 阅读

AI摘要

本文介绍了华为Me60 BRAS设备的Web认证配置,包括AAA配置、认证前域设置、用户组定义、访问控制列表(ACL)配置、流量分类器和行为设置以及流量策略应用。通过这些配置,可以实现用户在访问特定资源时的Web认证功能。

华为Me60 bras web认证 portal认证配置

aaa
http-redirect enable
domain pre-web --------认证前域
authentication-scheme default0
accounting-scheme default0
user-group web
web-server 111.208.61.24
web-server url http://111.208.61.24
acl number 6001 ------举例,配置前域可以访问的地址,不需要配置端口号
rule permit ip source user-group web destination ip-address 111.208.22.73 0
rule permit ip source user-group web destination ip-address 111.208.55.7 0
rule permit ip source user-group web destination ip-address 111.208.61.40 0
rule permit ip source user-group web destination ip-address 111.208.61.4 0
rule permit ip source user-group web destination ip-address 127.0.0.1 0
acl number 6002 ----用户访问其他http资源都强推页面,支持80和8080端口,端口号必须配置,需要确保以下规则的配置顺序。
rule permit tcp source user-group wx destination-port eq www
rule permit tcp source user-group wx destination-port eq 8080
rule permit ip source user-group wx -----当用户访问非http资源(如FTP)时命中这条规则,流动作是http-redirect的情况下会做deny处理

traffic classifier permit
if-match acl 6001

traffic classifier redirect
if-match acl 6002

traffic behavior permit

traffic behavior redirect
http-redirect

traffic policy web
classifier permit behavior permit
classifier redirect behavior redirect

traffic-policy web inbound

  1. 01SaMDeditor V2.4 更新内容2026-12-02
  2. 02恭喜《轻武爱学习》小程序备案成功!2026-11-24
  3. 03SaView 图阅 1.1.1 更新日志2026-11-18
  4. 04Book2EPUB 1.0.4 更新日志2026-11-18
  5. 05SaView 图阅 一款轻便纯粹的看图工具2026-11-16
  6. 06免费工具Book2EPUB:轻松将电子书转换为 EPUB2026-11-11
  7. 07SaBlog2026 主题功能介绍(v1.1.36)2026-10-26
  8. 08PHP2Shell 重大安全漏洞事件深度分析报告2026-10-23
  9. 09LiteLLM v1.106.0 更新内容总结2026-10-20
  10. 10AI Native 受控软件工程2026-10-12
COMMENTS / 一纸留言

读者留言 0 条

一纸留言,便是山水间的一次相逢。

还没有留言,欢迎写下第一段交流。

WRITE A COMMENT

写下你的留言