找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 263341|回复: 2203

[pppoe] 经测试做PPPOE服务器不掉线,不会打开不了网页!

  [复制链接]
发表于 2008-9-22 00:36:55 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 zooyo 于 2011-2-9 20:30 编辑

你做PPPOE服务器时不要用
你做PPPOE服务器时不要用Profiles的Limits>>>>Rate Limit不要在这设限速,要在Queues下设,
限速脚本:
:for aaa from 0 to 254 do={/queue simple add name=(queue . $aaa) dst-address=(192.168.0. . $aaa) limit-at=0/0 max-limit=2000000/2000000}

说明:
aaa是变量
0 to 254是2~254
192.168.0. . $aaa是IP
上两句加起来是192.168.0.2~192.168.0.254
max-limit=2000000/2000000是(最实的)下行/上行
#不会打开不了网页
/ ip firewall mangle add chain=postrouting protocol=tcp tcp-flags=syn action=passthrough
/ ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip firewall mangle add chain=postrouting protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip firewall mangle add chain=output protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip firewall mangle add chain=prerouting action=accept




我试过,好用,你们试试吧!
routeros
 楼主| 发表于 2008-9-22 00:29:53 | 显示全部楼层

经测试做PPPOE服务器不掉线,不会打开不了网页!

本帖最后由 zooyo 于 2011-2-9 20:30 编辑

你做PPPOE服务器时不要用

你做PPPOE服务器时不要用Profiles的Limits>>>>Rate Limit不要在这设限速,要在Queues下设,
限速脚本:
:for aaa from 0 to 254 do={/queue simple add name=(queue . $aaa) dst-address=(192.168.0. . $aaa) limit-at=0/0 max-limit=2000000/2000000}

说明:
aaa是变量
0 to 254是2~254
192.168.0. . $aaa是IP
上两句加起来是192.168.0.2~192.168.0.254
max-limit=2000000/2000000是(最实的)下行/上行
#不会打开不了网页
/ ip firewall mangle add chain=postrouting protocol=tcp tcp-flags=syn action=passthrough
/ ip firewall mangle add chain=forward protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip firewall mangle add chain=postrouting protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip firewall mangle add chain=output protocol=tcp tcp-flags=syn action=change-mss new-mss=1440
/ ip firewall mangle add chain=prerouting action=accept



我试过,好用,你们试试吧!
routeros
回复

使用道具 举报

发表于 2008-9-22 02:12:01 | 显示全部楼层
???????
routeros
回复

使用道具 举报

发表于 2008-9-22 08:06:25 | 显示全部楼层
ddddddddd
routeros
回复

使用道具 举报

发表于 2008-9-22 08:12:44 | 显示全部楼层
看看咯..学习学习
routeros
回复

使用道具 举报

发表于 2008-9-22 08:15:01 | 显示全部楼层
学习学习
routeros
回复

使用道具 举报

发表于 2008-9-22 08:18:24 | 显示全部楼层
看看是不是跟我一样的解决方法
routeros
回复

使用道具 举报

发表于 2008-9-22 08:27:32 | 显示全部楼层
什么东东,看看吧
routeros
回复

使用道具 举报

发表于 2008-9-22 09:09:05 | 显示全部楼层
routeros
回复

使用道具 举报

发表于 2008-9-22 09:21:01 | 显示全部楼层
?????????
routeros
回复

使用道具 举报

发表于 2008-9-22 09:22:39 | 显示全部楼层
/ ip firewall mangle add chain=postrouting protocol=tcp tcp-flags=syn action=passthrough/ ip firewall mangle add chain=prerouting action=accept
这两句有啥用
routeros
回复

使用道具 举报

发表于 2008-9-22 09:26:44 | 显示全部楼层
学习一下
routeros
回复

使用道具 举报

发表于 2008-9-22 09:39:18 | 显示全部楼层
看看~~`
routeros
回复

使用道具 举报

发表于 2008-9-22 09:55:01 | 显示全部楼层
预览帖子,看看内容
routeros
回复

使用道具 举报

发表于 2008-9-22 09:59:58 | 显示全部楼层
hsene
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-1 19:24 , Processed in 0.084999 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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