• 860

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


gfx wrote:
那直接把192.16...(恕刪)


謝謝 gfx,脕一點找時間試試看...

另外想請問有可能把 dns query 回來的 ip address 寫到 address-list 裡面嗎?
各位,請問是否有遇過pptp client設置成功後卻無法連上facebook, youtube的情形?會回報"隱私權設定發生錯誤";“您的連線不是私人連線”,或者根本找不到網頁,ping 也找不到主機。其他google之類被禁的網站都可正常訪問。有什麼設定漏了或沒有注意到?謝謝!

rb951ui-2hnd/ v6.27



chingyu_ku wrote:
各位,請問是否有遇...(恕刪)
您的PPTP-Server設定沒設DNS

gfx wrote:
您的PPTP-Server...(恕刪)


gfx大,我的機器是設成pptp client,連去買來的vpn服務商的vpn server。謝謝!
chingyu_ku wrote:
gfx大,我的機器...(恕刪)
您給的Router訊息太少了,
在終端機視窗用/ip firewall export 匯出您的設定後貼到本討論區吧.
cfx 大,下面內容請參考,我有設中國和海外的分流,有成功分流。謝謝了!

/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=\
established,related
add action=drop chain=input comment="default configuration" in-interface=\
ether1-gateway
add chain=forward comment="default configuration" connection-state=\
established,related
add action=drop chain=forward comment="default configuration" \
connection-state=invalid
add action=drop chain=forward comment="default configuration" \
connection-nat-state=!dstnat connection-state=new in-interface=\
ether1-gateway
/ip firewall mangle
add action=mark-routing chain=prerouting dst-address=!192.168.88.0/24 \
dst-address-list=!CN dst-address-type=!local in-interface=bridge-local \
new-routing-mark=RUNO-pptp
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=pppoe-out1
add chain=srcnat out-interface=pppoe-out1
add action=masquerade chain=srcnat out-interface=RUNO-pptp
add action=masquerade chain=srcnat out-interface=ether1-gateway
add chain=srcnat out-interface=ether1-gateway
[admin@MikroTik] >

gfx wrote:
您給的Router訊...(恕刪)


cfx大和各位,在下發現,只要是需要建立安全連線的網站,似乎都有無法建立連線,無法顯示網頁的問題,YOUTUBE,FACEBOOK,YAHOO的新聞
chingyu_ku wrote:
cfx大和各位,在...(恕刪)
您/ip firewall mangle設定本來就不太對,用小弟的方式吧.
將您原本的設定先關閉或刪除,在終端機視窗匯入:
/ip firewall mangle
add chain=prerouting dst-address=192.168.88.0/24 src-address=192.168.88.0/24
add chain=prerouting dst-address-type=local
add chain=prerouting dst-address-list=CN
add action=mark-routing chain=prerouting src-address=192.168.88.0/24 \
passthrough=no new-routing-mark=RUNO-pptp


最後再試試您的連線,就這樣
之前感謝眾多資深大哥幫忙,近日ROS的設定已經趨於穩定運作

日前小弟開啟了SMB功能 , 可以讓家裡的電腦互相分享檔案

但小弟發現一個問題

就是當檔案傳輸至ROS的硬碟中時 速度只有最高10MB/S (檔案1G約傳2分鐘)

但當從ROS裡的硬碟拷貝至電腦端時 速度可以跑70~80MB/S (檔案1G約15秒內)

請問是哪裡出了問題呢?? 可否指點迷津?

ip firewall Mangle 有增加一條

Chain:forward ,Src.Address:192.168.1.0/24 ,Dst Address:192.168.1.0/24 ,Action:accept

區網的傳輸應該不再Queues規則中 ,檔案傳輸過程中在Queue Tree也沒有流量

謝謝大家
謝謝gfx大,匯入了您的/ip firewall mangle,速度上好像變快了,但是那些需要安全連線的網頁,仍然出現一樣的問題......不知還有什麼其他的地方可以檢查?
手機或電腦上連vpn都ok, 但是在MikroTik 上開vpn client就有安全連線的問題(facebook/youtube/...)?謝謝!!
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?