• 860

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


yenchee wrote:
實測的結果, mtu設1492就可以正確的連網, 太小的mtu會影響到網路效能...(恕刪)


感謝分享, 設為 1280 也是小弟在自家用 MTU ping 實測過後能夠正常 work 的數值, 設為 1492 在這裡有些 yahoo 的網站會開不了.
FB: Pctine

pctine wrote:
感謝分享, 設為 1...(恕刪)


1280太低了, 我不覺得連不上是mtu的問題, 現代的網路mtu低於1460已經是不可思議了

yenchee wrote:
1280太低了, 我...(恕刪)


現在用的好好的, 等有空再查吧! 感恩.
FB: Pctine
gfx大 感謝您的教學 "NAS 使用不同的浮動IP" 套用到免空上 是可行的

同時四個 免空下載 (HINET 有七個動態IP)

電腦再配合 "虛擬網卡" 切換 就可達到同時 4個檔案 同時下載 機器有一點吃不消 CPU使用率已達到 50%上下ˋ




bZIP
pzip大問個其他問題我用虛凝網卡設個假中國ip可以上中國線上影音網看影片嗎?
不過設定成國外假ip有辦法連上國外特定網站或購物達到類似VPN功能??

霸王色 wrote:
我用虛凝網卡設個假中國ip可以上中國線上影音網看影片嗎?...(恕刪)


你用實際網卡或是虛擬網卡設假的 IP, 連自己家門口都出不去, 何況是出國.
FB: Pctine

gfx wrote:
RouterOS P...(恕刪)

gfx兄您好,最近在研究ROS的PCC因為大陸公司有2條ADSL,希望把它整合在RB450G裡做Load Balancing
您在#490的設定中,和我網上查的有些不一樣,但我不了解差異,例如,http://hi.baidu.com/wanggong123/item/c616b23798a6b89ab90c03ff
為何他在mangle中有設定input及output這有何差別?
謝謝

pctine wrote:
你用實際網卡或是虛擬...(恕刪)

我的想法是用假ip打國外網址連出去特定網站或購物是不是可以騙過該國審核
因為我有玩VPN但沒玩過虛凝網卡感覺很類似但如果是要透過B地才能連上那就像大大講的走不出家裡門口
這是我的疑惑?
有人有在 6.7 之後能正常更新的 ddns script 嗎?

chrisintaipei wrote:
有人有在 6.7 之...(恕刪)


mikrotik forum 找到的。確定可用。

# No-IP automatic Dynamic DNS update
#
#--------------- Change Values in this section to match your setup ------------------

# No-IP User account info
:local noipuser "your_no-ip_user"
:local noippass "your_no-ip_pass"

# Set the hostname or label of network to be updated.
# Hostnames with spaces are unsupported. Replace the value in the quotations below with your host names.
# To specify multiple hosts, separate them with commas.
:local noiphost "hostname.no-ip.net"

# Change to the name of interface that gets the dynamic IP address
:local inetinterface "your_external_interface"

#------------------------------------------------------------------------------------
# No more changes need

:local previousIP

if ( [:len [/file find name=("no-ip_ddns_previousip.txt")]] > 0 ) do={
:set previousIP [/file get ("no-ip_ddns_previousip.txt") contents]
}


:if ([/interface get $inetinterface value-name=running]) do={
# Get the current IP on the interface
:local currentIP [/ip address get [find interface="$inetinterface" disabled=no] address]

# Strip the net mask off the IP address
:for i from=( [:len $currentIP] - 1) to=0 do={
:if ( [:pick $currentIP $i] = "/") do={
:set currentIP [:pick $currentIP 0 $i]
}
}

:if ($currentIP != $previousIP) do={
:log info "No-IP: Current IP ($currentIP) is not equal to previous IP ($previousIP), update needed"

# The update URL. Note the "\3F" is hex for question mark (?). Required since ? is a special character in commands.
:local url "http://dynupdate.no-ip.com/nic/update\3Fmyip=$currentIP"
:local noiphostarray
:set noiphostarray [:toarray $noiphost]
:foreach host in=$noiphostarray do={
:log info "No-IP: Sending update for $host"
/tool fetch url=($url . "&hostname=$host") user=$noipuser password=$noippass mode=http dst-path=("no-ip_ddns_update-" . $host . ".txt")
:log info "No-IP: Host $host updated on No-IP with IP $currentIP"
/file print file=("no-ip_ddns_previousip.txt")
:delay 3
/file set contents="$currentIP" ("no-ip_ddns_previousip.txt")
}
} else={
:log info "No-IP: Previous IP $previousIP is equal to current IP, no update needed"
}
} else={
:log info "No-IP: $inetinterface is not currently running, so therefore will not update."
}
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?