[研究所] MikroTik RouterOS 學習 (持續更新)

jeremy9678 wrote:
速度慢因該我們進大陸(恕刪)
我以為多人推薦的v2ray很威...
這是在對岸的朋友pm 11:00後透過ike2從深圳翻回台灣,speedtest測速。

原本還嫌差勁,聽您一說反而是棒呆了嗎
jeremy9678 wrote:
速度慢因該我們進大陸(恕刪)


大大買的是阿里雲哪個區域?
gfx wrote:
我以為多人推薦的v2ray...(恕刪)


除了中台之間的線路原因外,也有可能是因為大大你對岸的朋友是用普通電信163線路.
mandymak wrote:
除了中台之間的線路原(恕刪)
不清楚耶,我只知道他用的是多人共用的社區網路。
可以上網,但無法從網際網路直接連接到他的電腦。

把他連過的ip拿去網站查,顯示"广东省东莞市 移动"...
东莞 距 深圳 應該有50~60km吧,我也一臉矇逼
NYPD SWAT wrote:
同感,ROS的PCC(恕刪)
您的外線若是ppp的服務(假設是l2tp),
透過profile裡的on-up與on-down即時控制是有可能的。分享小弟的控制script:
l2tp-out1 profile1:
#on-up:
:local id1 [/ip firewall mangle find new-routing-mark="l2tp1"]
/ip firewall mangle enable $id1


#on-down:
:local id1 [/ip firewall mangle find new-routing-mark="l2tp1"]
:if (![/ip firewall mangle get $id1 disabled]) do={/ip firewall mangle disable $id1}


l2tp-out2 profile2:
#on-up:
:local id1 [/ip firewall mangle find new-routing-mark="l2tp1"]
:local id2 [/ip firewall mangle find new-routing-mark="l2tp2"]
/ip firewall mangle enable $id2
/ip firewall mangle set $id1 per-connection-classifier="both-addresses-and-ports:2/0"


#on-down:
:local id1 [/ip firewall mangle find new-routing-mark="l2tp1"]
:local id2 [/ip firewall mangle find new-routing-mark="l2tp2"]
:if (![/ip firewall mangle get $id2 disabled]) do={/ip firewall mangle disable $id2}
:if ([/ip firewall mangle get $id1 per-connection-classifier]="both-addresses-and-ports:2/0") do={/ip firewall mangle set $id1 !per-connection-classifier}


說明:
當您有2線做pcc時,pcc只需設置在第1線,第2線不用設置。
原因是pcc1沒導出的連線,自然會往下面的第2線送。所以再設置pcc2自然是多餘。
同理有3線做pcc時,pcc只需設在第1,2線,第3線只需等1,2未導出的無需再設pcc。

pcc的狀況,則以l2tp2控制即可。
l2tp2是on,啟用pcc;l2tp2是down,pcc是on時關閉。
mandymak wrote:
大大買的是阿里雲哪個(恕刪)


我買過 上海 成都 張家界 都很爛速度,v2ray 能連不到100K
丟包連不上是常態囉,目前我只留成都囉
gfx wrote:
不清楚耶,我只知道他(恕刪)


那是他們小區網路,就像我們第四台整個社區大樓一個內網概念
有些IP是192.168開頭得內網IP,只是它們小區網路可能是一個里或
好幾個街道這樣
gfx wrote:
不清楚耶,我只知道他(恕刪)


這很有可能大大你的朋友是用長城寬帶, 長城寬帶最愛這樣玩流量穿透, 套個阿里雲深圳可解決這速度問題. 另外可能性 (極低) 就是你朋友的房東拉了1根免費的深圳移動家寬, 然後自行TR069到東莞移動.
jeremy9678 wrote:
我買過 上海 成都 (恕刪)


大大你買的線路可能是走電信普通163線路.
mandymak wrote:
大大你買的線路可能是(恕刪)


其實不管走哪都一樣,aliyun 他們是有BGP網路
但我的都是跨境點塞住囉

走過上海北京 福建 香港都一樣
關閉廣告
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 871)

今日熱門文章 網友點擊推薦!