# 创建 MAC 接入模板 2mac-access-profile name MAC_AUTH_PROF 3 # 配置用户名格式为 MAC 地址(不带分隔符) 4 user-name-format mac-address without-hyphen lowercase 5quit
# 创建 Portal 接入模板 2portal-access-profile name PORTAL_AUTH_PROF 3 # 引用之前配置好的 Portal Web 服务器 4 portal web-server <web-server-name> 5 # 配置重定向方式(直接重定向或主动探测) 6 portal method direct 7quit
# 创建高级 ACL,允许访问 AC 的 Portal 服务和 DNS 2acl number 3000 3 rule 5 permit udp source-port eq 53 destination-port eq 53 # DNS 4 rule 10 permit tcp destination <AC的IP地址> destination-port eq 80 # HTTP Portal 5 rule 15 permit tcp destination <AC的IP地址> destination-port eq 443 # HTTPS Portal 6 rule 20 deny ip # 拒绝其他所有流量 7quit 8 9# 将 ACL 应用到隔离 VLAN 100 的入方向 10interface Vlan-interface 100 11 packet-filter 3000 inbound 12quit
wlan service-template yyyyy-ldap 2 # 关联之前配置好的 SSID 和 VLAN 3 ssid ldap-test 4 vlan 186 5 # --- 替换这里的配置 --- 6 # 删除之前的 client-security 和 mac-authentication domain 命令 7 # 改为应用认证模板 8 authentication-profile MAC_THEN_PORTAL 9 # 开启服务模板 10 service-template enable 11quit
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论