找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 8184|回复: 2

[Hotspot] 双ADSL做了PCC,用户不会跳转到HOTSPOT认证页

[复制链接]
发表于 2015-7-9 17:13:42 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
双ADSL做了PCC,用户不会跳转到HOTSPOT认证页,,,手动打开是可以的 ,,经排查是哪儿进哪儿出的四线标记引起的,,禁用就可以,,但是也得要哪儿进哪儿出啊,求助解决办法,

QQ截图20150709165152.png

ADSL和PCC的设置如下

  1. /ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 primary-dns=222.85.85.85 secondary-dns=222.88.88.88
  2. /ip address add address=172.16.0.1/255.255.0.0 interface=lan comment=LAN
  3. /ip firewall mangle add chain=forward comment="change MSS" protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
  4. /interface pppoe-client add name=pppoe-out1 interface=wan1 user=637116991550 password=321321 add-default-route=no disabled=no
  5. /interface pppoe-client add name=pppoe-out2 interface=wan2 user=637116991601 password=321321 add-default-route=no disabled=no
  6. /ip firewall mangle add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out1 new-connection-mark=adsl_conn_1 passthrough=yes
  7. /ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=adsl_conn_1 disabled=no new-routing-mark=adsl_rout_1 passthrough=yes
  8. /ip firewall mangle add action=mark-connection chain=input comment="" disabled=no in-interface=pppoe-out2 new-connection-mark=adsl_conn_2 passthrough=yes
  9. /ip firewall mangle add action=mark-routing chain=output comment="" connection-mark=adsl_conn_2 disabled=no new-routing-mark=adsl_rout_2 passthrough=yes
  10. /ip firewall mangle add action=mark-connection chain=prerouting comment=PCC_1 disabled=no dst-address-type=!local in-interface=lan new-connection-mark=adsl_conn_1 passthrough=yes per-connection-classifier=both-addresses:2/0
  11. /ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=adsl_conn_1 disabled=no in-interface=lan new-routing-mark=adsl_rout_1 passthrough=yes
  12. /ip route add check-gateway=ping comment=ADSL_1 disabled=no distance=1  dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=adsl_rout_1
  13. /ip route add comment="" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1
  14. /ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=pppoe-out1
  15. /ip firewall mangle add action=mark-connection chain=prerouting comment=PCC_2 disabled=no dst-address-type=!local in-interface=lan new-connection-mark=adsl_conn_2 passthrough=yes per-connection-classifier=both-addresses:2/1
  16. /ip firewall mangle add action=mark-routing chain=prerouting comment="" connection-mark=adsl_conn_2 disabled=no in-interface=lan new-routing-mark=adsl_rout_2 passthrough=yes
  17. /ip route add check-gateway=ping comment=ADSL_2 disabled=no distance=1  dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=adsl_rout_2
  18. /ip route add comment="" disabled=no distance=2 dst-address=0.0.0.0/0 gateway=pppoe-out2
  19. /ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=pppoe-out2
复制代码


routeros
发表于 2015-7-14 17:03:18 | 显示全部楼层
换个脚本,或者修改output里面有个选项也可以!
routeros
回复

使用道具 举报

发表于 2015-7-23 18:20:45 | 显示全部楼层
input删除即可
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-22 23:36 , Processed in 0.146945 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表