本文共 3490 字,大约阅读时间需要 11 分钟。
登录RouterOS Winbox 设置生成Hotspot,上传login.html模板节点文件并与云对接。
1、增加热点现在我们开始在RouterOS中配置热点,这里我们用Winbox登录连接管理配置:步骤:ip->hotspot->hotspot setup 如下图:设置热点向导程序:设置hotspot 认证方式为PAP(重要微信认证必需)ros hotspot认证方式为PAP2、为热点增加认证用户(在教程第一部分增加的用户与密码):3、上传从云热点下载的节点文件(重命名为login.html)到RouterOS的Hotspot目录中:步骤:选择一个FTP连接客户端(我这里是FileZilla),输入路由器的内网的IP地址,用户名,密码连接并进入hotspot目录,上传并覆盖login.html文件.如下图所示:4、将云热点认证相关URL地址放行:云认证放行URL代码:
核心放行URL(必需)
/ip hotspot walled-garden add dst-host=*.cloudshotspot.com
附加功能放行url(可选)
注意:以下URL都是可选的,如果需要以下描述功能.请进行选择添加极验验证/ip hotspot walled-garden add dst-host=*.geetest.com微信认证需要放行的地址:/ip hotspot walled-garden add dst-host=dns.weixin.qq.com
/ip hotspot walled-garden add dst-host=punch.weixin.qq.com/ip hotspot walled-garden add dst-host=voip.weixin.qq.com/ip hotspot walled-garden add dst-host=short.weixin.qq.com/ip hotspot walled-garden add dst-host=.weixin.qq.com/ip hotspot walled-garden add dst-host=long.weixin.qq.com dst-port=80,443/ip hotspot walled-garden add dst-host=wifi.weixin.qq.com dst-port=80,443/ip hotspot walled-garden add dst-host=.qq.com dst-port=443/ip hotspot walled-garden add dst-host=mmsns.qpic.cn/ip hotspot walled-garden ip add protocol=6 dst-port=8080QQ Oauth 2.0授权登录放行URL/ip hotspot walled-garden add dst-host=graph.qq.com
/ip hotspot walled-garden add dst-host=openapi.qzone.qq.com/ip hotspot walled-garden add dst-host=qzonestyle.gtimg.cn/ip hotspot walled-garden add dst-host=tajs.qq.com/ip hotspot walled-garden add dst-host=.connect.qq.com/ip hotspot walled-garden add dst-host=isdspeed.qq.com/ip hotspot walled-garden add dst-host=appsupport.qq.com/ip hotspot walled-garden add dst-host=.xui.ptlogin2.qq.com/ip hotspot walled-garden add dst-host=xui.ptlogin2.qq.com/ip hotspot walled-garden add dst-host=support.qq.com/ip hotspot walled-garden add dst-host=ui.ptlogin2.qq.com/ip hotspot walled-garden add dst-host=isdspeed.qq.com/ip hotspot walled-garden add dst-host=*.ptlogin2.qq.com/ip hotspot walled-garden add dst-host=ptlogin2.qq.com/ip hotspot walled-garden add dst-host=imgcache.qq.com/ip hotspot walled-garden add dst-host=pingtcss.qq.com/ip hotspot walled-garden add dst-host=openmobile.qq.com/ip hotspot walled-garden add dst-host=xui.ptlogin2.qq.com/ip hotspot walled-garden add dst-host=openmobile.qq.com/ip hotspot walled-garden add dst-host=xui.ptlogin2.qq.com新浪微薄 Oauth.2授权登录放行URL/ip hotspot walled-garden add dst-host=api.weibo.com
/ip hotspot walled-garden add dst-host=login.sina.com.cn苹果IOS不需要弹登录页需要放行的URL代码:/ip hotspot walled-garden add dst-host=.apple.com/ip hotspot walled-garden add dst-host=.thinkdifferent.us
/ip hotspot walled-garden add dst-host=.akadns.org/ip hotspot walled-garden add dst-host=.akamai.net/ip hotspot walled-garden add dst-host=.edgekey.net/ip hotspot walled-garden add dst-host=.akadns.net/ip hotspot walled-garden add dst-host=.akamaiedge.net/ip hotspot walled-garden add dst-host=.apple.com.edgesuite.net/ip hotspot walled-garden add dst-host=.ibook.info/ip hotspot walled-garden add dst-host=.appleiphonecell.com/ip hotspot walled-garden add dst-host=.airport.us/ip hotspot walled-garden add dst-host=.itools.infowindows phone不需要弹登录页需要放行的地址:/ip hotspot walled-garden add dst-host=*.api.bing.com
/ip hotspot walled-garden add dst-host=www.msftncsi.com/ip hotspot walled-garden add dst-host=www.msftncsi.com.edgesuite.net将以上的代码复制在RouterOS 终端Terminal下粘贴执行:步骤:New Terminal ->打开终端,右键单击选择Paste 将上面复制的代码粘贴并按回车.如下图:
转载于:https://blog.51cto.com/53157/2084395