• 860

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

Windows 7 上的 SSTP Client 測試連線成功了
挺方便的
唯一可惜的就是在 iOS 與 Android 上沒有 Client 可以用
pctine wrote:
不客氣, 透過 st...(恕刪)
請問 RouterOS 的 Web Proxy
我設定了 Proxy 以後,在 Client 也設好了
然後連上網路測試,都會出現

ERROR: Not Found

While trying to retrieve the URL http://xxx.xxx.xxx/:

DNS resolving failed

這是哪裡出了問題呢?
Gemma wrote:
請問 RouterO...(恕刪)


既然反應問題, 那麼儘可能提供一些較詳細的資料, 相信會有比較大的幫助.

例如, 上面已經提及是 web-proxy, dns failed, url...

那麼至少應該 export web-proxy, ip dns, 以及實際的網址. 甚至於 log.
FB: Pctine
抱歉!
我在 RouterOS 上的做的就是版上寫的開了 Web Proxy 而已
/ip proxy
set always-from-cache=no cache-administrator=xxx@xxxx cache-hit-dscp=4 cache-on-disk=no enabled=yes max-cache-size=1024KiB \
max-client-connections=600 max-fresh-time=3d max-server-connections=600 parent-proxy=0.0.0.0 parent-proxy-port=0 port=88 \
serialize-connections=no src-address=0.0.0.0
/ip firewall filter
add action=accept chain=input comment="Web-Proxy Internal Port & External Port" disabled=yes dst-port=88 in-interface=wan1 protocol=tcp


/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=4096 servers="8.8.8.8,8.8.4.4,168.95.1.1,168.
195.2,61.21.233.1,211.78.215.137,211.78.215.200,2001:b000:168::1,2001:b000:168::2,2001:4860:4860::8888"
/ip dns static
add address=61.31.233.1 disabled=no name="TTN Primary DNS" ttl=1d
add address=211.78.215.137 disabled=no name="TTN Seconary DNS" ttl=1d
add address=8.8.8.8 disabled=no name="Google Primary" ttl=1d
add address=8.8.4.4 disabled=no name="Google Secondary" ttl=1d

然後我在 Client 的 Browser 就設定 http proxy 是 RouterOS wan1 IP,port 是 88
不管是去什麼網站,都是出現
DNS resolving failed
我通常都是先連 http://www.whatismyip.com/ 去看看對外顯示的 IP 有沒有變成 proxy IP 了
pctine wrote:
既然反應問題, 那麼...(恕刪)
Gemma wrote:
/ip dns static
add address=61.31.233.1 disabled=no name="TTN Primary DNS" ttl=1d
add address=211.78.215.137 disabled=no name="TTN Seconary DNS" ttl=1d
add address=8.8.8.8 disabled=no name="Google Primary" ttl=1d
add address=8.8.4.4 disabled=no name="Google Secondary" ttl=1d..(恕刪)


這跟你問題無關, 但把這些設為 static dns 的用意為何? 況且格式也是怪怪的.
FB: Pctine
static dns 其實我本來沒有這樣故意設定,我就設定了一些 DNS Server
然後 Google 那個是自己變成 static dns 的,我並沒有特別自己設定
這跟 web-proxy 的問題有關係?是這個引起的嗎?
pctine wrote:
這跟你問題無關, 但...(恕刪)
唔...
本來要反應問題

後來發現是生效的時間有點慢 Orz

Gemma wrote:
我在 RouterOS 上的做的就是版上寫的開了 Web Proxy 而已...(恕刪)


你的設置上看起來沒有什麼問題, 不過我也僅是套用 ip proxy 的設置而已, 其他的部份我看不出用意為何就沒有設了.

你自己可以先從 LAN 端去做測試, 並把一些用不著或是不了解用意的設置拿掉, 這样 debug 會容易些.
FB: Pctine


請問第4行interface=bridge-local ,
bridge-local是指ether1-gateway ,還是ether2-local ?

gfx wrote:
請問第4行inter...(恕刪)


那是 bridge, 通常在 RouterBoard 有 wifi module 時會將 wireless & local lan bridge 在一起, 如果你沒有 wifi, 那麼就設為 local-lan 就對了.
FB: Pctine
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?