找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: ksw520

[vpn] 讨论下热议中的 光纤(vpn)走上行 ADSL走下行

  [复制链接]
 楼主| 发表于 2010-9-19 16:45:50 | 显示全部楼层
我一点也不喜欢什么 jump,只是目前还没学到更好的方法。

设置方法不一直没发帖讨论,仅仅是认为这不值得一提,以为大家都会了。
没想到论坛最近吵的如此火热,而且还以会此为傲。

特别是“佗背”好像还有更高明的设置方法,何不放出来大家观摩学习下。
还捂着? 再捂也捂也恐怕怀不出下一代吧。
routeros
回复

使用道具 举报

发表于 2010-9-19 17:34:55 | 显示全部楼层



    难,基本nat部份跟你一样,就负载部份不同
routeros
回复

使用道具 举报

发表于 2010-9-19 17:37:43 | 显示全部楼层
看看怎么整的!
routeros
回复

使用道具 举报

发表于 2010-9-19 17:39:16 | 显示全部楼层
好极了,真的要顶
routeros
回复

使用道具 举报

发表于 2010-9-19 17:41:44 | 显示全部楼层
都发出来了,看不懂的就没话说了
routeros
回复

使用道具 举报

发表于 2010-9-19 18:57:13 | 显示全部楼层
顶上看看
routeros
回复

使用道具 举报

发表于 2010-9-19 19:53:05 | 显示全部楼层
再次围观
routeros
回复

使用道具 举报

发表于 2010-9-19 20:21:44 | 显示全部楼层
不知道07年就有了,有些落后,我是后知后觉,但完全是自己想的,没参照任何论坛里任何人的。方法也在一个相关回帖里说了。用PCC分类,可做N条上传,N条下载回来。
routeros
回复

使用道具 举报

发表于 2010-9-19 22:55:42 | 显示全部楼层
帖隐藏的内容需要回复才可以浏览
routeros
回复

使用道具 举报

发表于 2010-9-19 23:05:56 | 显示全部楼层
这功能实用,多谢楼主分享
routeros
回复

使用道具 举报

发表于 2010-9-19 23:23:32 | 显示全部楼层
看看
routeros
回复

使用道具 举报

发表于 2010-9-19 23:49:12 | 显示全部楼层
又来领金币了
routeros
回复

使用道具 举报

发表于 2010-9-19 23:50:04 | 显示全部楼层
走上行 ADSL走下行
routeros
回复

使用道具 举报

发表于 2010-9-19 23:58:38 | 显示全部楼层
楼主的脚本没考虑掉线后的处理。。。。
routeros
回复

使用道具 举报

发表于 2010-9-19 23:59:17 | 显示全部楼层
:local state
:local int
:local new1
:local new
:local old


:for bb from=1 to=23 do={
  :set int  ("pppoe-out" . $bb)
  :set state [/interface pppoe-client get $int running]
  :if ($state) do={
        :if  ([/ip fi nat get [find connection-mark=$bb] disable]=yes) do={/ip fi nat en [find connection-mark=$bb]}
        :set old [/ip fi nat get [find connection-mark=$bb] to-address]
        :set new1 [/ip add  get [/ip add find interface=$int dynamic=yes] address]
        :set new [:pick $new1 0 [:find $new1 "/"]]
        :if ($new!=$old) do={
                            /ip fi nat set [find connection-mark=$bb]  to-address=$new
                            :log warn ($new)}
                  } else={/ip fi nat dis [find connection-mark=$bb]}
                       }
routeros
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-17 19:58 , Processed in 0.082893 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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