• 860

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


pctine wrote:
前輩引的那篇 wik...(恕刪)


其實有另一個比較詭異的解法
所有比對到的*.cn強制轉向送到第二台Router那邊
由第二台Router負責中國內部的路由

第二台Router可以是MetaRouter或其他廠牌的路由器都沒關係

這樣就不用寫script了

eavictor wrote:
其實有另一個比較詭異的解法
所有比對到的*.cn強制轉向送到第二台Router那邊
由第二台Router負責中國內部的路由...(恕刪)


感謝分享.

之所以提到還是用 GeoIP 的做法較佳, 主要是 domain name 裡面的國別並不代表主機實際上所在的位置. 例如 .cn 主機可能是 host 在 China 以外.
FB: Pctine
OZEY wrote:
可否請前輩寫一下教...(恕刪)
覺得透過address-list=cn比對這邏輯是有瑕疵的.
dns查詢是比firewall nat或mangle標記更前端的動作 .

只透過nat或mangle改變dns查詢地址結果 ,小弟深覺得沒這麼容易.
pctine wrote:
感謝分享.之所以提到...(恕刪)


我覺得OZEY的問題應該是想問DNS解析的部分,所以會建議他把所有.cn的DNS查詢導向第二台,由第二台Router向中國的DNS查詢後將結果丟回第一台。

GeoIP的部分因為造成我租的伺服器負荷太重,目前設定每個IP一天最多只能查詢10次
如果太少的話我再調整限制次數。
覺得最不好處理的應該是類似 taobao.com 這類的網站。首先他無法用 .cn 來判斷。其次他若用非中國的 DNS server 來解,會解到國外 CDN 的 ip.

我記得我好像是把常用到的加到 static DNS 內。Static DNS 好用但也有他的問題。有一好沒兩好,想不出更好的方式來。。。

chrisintaipei wrote:
覺得最不好處理的應...(恕刪)


我用routerboard上淘寶也有大大你這個問題, 用fortigate則不會, 因為fortigate是用vxr大大教的VDOM + 雙NAT + GeoIP的方法 (即樓上大大所說的雙router + GeoIP方法).

chrisintaipei wrote:
覺得最不好處理的應...(恕刪)



大大把我的現在狀況解釋的非常清楚啊

taobao,1688,alibaba,baidu,alipay,bilibili現在這些網址都沒有cn

我現在也是用static DNS,然後DHCP的主DNS解析位置也是設定是ROS,副DNS解析位置用8888,路由設定8888走VPN


但是還是卡卡的,電腦常常如果問到ROS的DNS位址,ROS回答不了,VPN又卡卡的話,還是會解析失敗。

平板手機更不用說了,我也不知道那些app網址是什麼,也是卡卡

也想過乾脆放棄static DNS,但是整個vpn8888有時很卡卡,,又有時以為我不在中國境內,很困擾我阿

What's new in 6.33 (2015-Nov-06 12:49):

*) dns - initial fix for situation when dynamic dns servers could disappear;
*) winbox - dropped support for winbox v3.0beta and v3.0rc (use winbox v3.0);
*) dhcpv6 - various improvement and fixes for dhcp-pd client and ippool6;
*) defconf - fixed rare situation where configuration was only partially loaded;
*) net - fix possible never ending loop when bad CDP discovery packet is received;
*) log - make default disk file name to reside in flash dir if it exists;
*) romon - change port list to be not ordered in export;
*) capsman - limit number of simultaneous DTLS handshakes;
*) capsman - fixed memory leak on CAP joining CAPsMAN when ssld is used;
*) winbox - added allow-fast-path to eoip, gre & ipip;
*) winbox - do not show power-cycle properties on non poe ports;
*) l2tp: implemented PPPoE over L2TP in LNS mode, RFC3817;
*) webfig - some of the setting were shifted to the right;
*) packages - allow to reinstall from bundle to separate packages & vice versa;
*) packages - prefer out of bundle packages when both of them are installed;
*) packages - fix a problem of upgrading bundle package to non bundled ones;
*) ipsec - force flow cache validation once in 1h;
*) winbox - make sure that all setting names get shown in full;
*) winbox - added poe power-cycle-ping settings to ethernet interfaces;
*) ppp - handle properly case were ppp client is given same address for local & remote end;
*) winbox - added vlan-mode & vlan-id to virtual-ap interface;
*) winbox - added timeout column to ipv6 address lists;
*) winbox - show SFP Tx/Rx Power properly;
*) winbox - added min-links to bonding interface;
*) winbox - do not show health menu on RB951Ui-2HnD;
*) winbox - added support for Login-Timeout & MAC-Auth-Mode in hotspot;
*) cerm - added option to disable crl download in '/certificate settings';
*) winbox - make user ssh key import work again;
*) webfig - make "Copy to Access List" work in CAPsMAN Registration Table;
*) userman - fix report generation problem which could result in some users being skipped from it;
*) winbox - fix to allow cpu-port as mirror-target
*) proxy - error.html parsing enhancement to improve performance
*) CCR1072 - improve ether1 performance under heavy load
*) routerboard - indicate RouterBOOT type in /system routerboard print;
*) mpls - properly use mpls mtu for routes;
*) cerm - fix key description for signed certificates;
*) trafflow - report flow addresses in v1 and v5 without NAT awareness;
*) hotspot - add mac-auth-mode setting for mac-as-passwd option;
*) hotspot - add login-timeout setting to force login for unauth hosts;
*) auto-upgrade - fixed auto upgrade for smipsbe;
*) dns - do not create duplicate entries for same dynamic dns server addresses;
*) ipsec - fix set on multiple policies which could result in adding non existent dynamic policies to the list;
*) email - allow server to be specified as fqdn which is resolved on each send;
*) fastpath - eoip,gre,ipip tunnels support fastpath (new per tunnel setting "allow-fast-path");
*) ppp, pptp, l2tp, pppoe - fix ppp compression related crashes;
*) cerm - also accept downloaded CRLs in PEM format;
*) userman - added 'history clear' to allow flushing undo history, which may take up significant amount of memory for huge databases with hundreds of users;
*) health - fix voltage for CRS109, CRS112 and CRS210 if powered from external adapter;
*) userman - added phone number support to signup form;
*) ip pool6 - try to acquire the same prefix if info matches recently freed;
*) ipsec - fix transport mode ph2 ID ports when policy selects specific ip protocol on initiator;
*) ipsec - use local-address for phase 1 matching and initiation;
*) route - fixed crash on removing route that was aggregated;
*) ipsec - fix replay window, was accidentally disabled since version 6.30;
*) ssh - allow host key import/export;
*) ssh - use 2048bit RSA host key when strong-crypto enabled;
*) ssh - support RSA keys for user authentication;
*) wlan - improved WMM-PowerSave support in wireless-cm2 package;
*) pptp & l2tp - fixed problem where android client could not connect if both dns names were not provided (was broken since v6.30);
*) auto-upgrade - added ability to select which versions to select when upgrading;
*) quickset - fixed HomeAP mode;
*) lte - improved modem identification to better support multiple identical modems;
*) snmp - fix system scripts table;
*) tunnels - eoip,eoipv6,gre,gre6,ipip,ipipv6,6to4 tunnels now support dns name as remote address;
*) fastpath - active mac-winbox or mac-telnet session no longer suspends fastpath;
*) fastpath - added per interface fastpath counters;
*) fastpath - added trafflow support in basic ipv4 and fasttrack ipv4 fastpath;
*) ppp - added on-up & on-down scripts to ppp profile;
*) winbox - allow to specify dns name in all the tunnels;
*) pppoe - added support for MTU > 1492 on PPPoE;
*) cerm - fix scep server certificate-reply degenerate PKCS#7 signed-data content;
*) ppp-client - added default channels for Alcatel OneTouch L100V;
*) defconf - fix for boards that had bridge with only wlan ports;
*) ovpn: support OpenWRT ovpn clients (or any other with enable-small option enabled);
*) cerm - use certificate file name for imported cert name;
*) fetch - fixed error message when error code 200 was received;
*) cerm - rebuild crl for local ca if crl file does not exist;
*) winbox - make directed broadcasts work for neighbor discovery;
*) upnp: automatically adjust mappings to new external ip change;
*) ppp - added ppp interface to upnp internals/externals if requested;
*) ppp - when adding ipv6 default route use user provided distance;
*) userman - allow to correctly enable CoA on router;
*) cerm - show crl nextupdate time;
*) ppp - added CoA support to PPPoE, PPTP & L2TP (Mikrotik-Recv-Limit, Mikrotik-Xmit-Limit, Mikrotik-Rate-Limit, Ascend-Data-Rate, Ascend-XMit-Rate, Session-Timeout);
*) ppp - added new option under "ppp aaa" - "use-circuit-id-in-nas-port-id";
*) userman - refresh active sessions/users view dynamically;
*) package - added version tag and show everywhere alongside of version number;
*) wlan - improved 802.11 protocol single connection TCP performance for ac chipset with cm2 package.
GPON ONU module

The GPON module allows any RouterBOARD device to be used for Fiber to Home installations without any special modems or software. A plug and play solution means you simply plug it into your device, and no special con guration is needed. It is supported by all our SFP products, with any RouterOS version - all con guration will be done on the ISP side.

The GPON ONU integrates GPON OMCI Stack and is fully compliant with ITU-T G.984 standards. The ONU is in a standardized MSA SFP form-factor and is designed to simply plug into a standard SFP port in your router.

The product provides a pluggable GPON ONU interface for networking equipment with an uplink SFP receptacle enabling these devices to be deployed in GPON networks for FTTx, business services, and wireless backhaul applications.

Applications
• Gigabit Passive Optical Network (GPON) ONU for P2MP application
• FTTx WDM Broadband Access Network
• Home-Gateway, Ethernet Switches, Routers, Wireless devices etc.
• Simple plug and play design for generic SFP connectors.

Specifications
• Single 3.3V power supply
• Small form factor pluggable, simplex SC connector
• 1310nm burst-mode transmitter with DFB laser
• 1490nm continuous-mode receiver with APD-TIA
• 1244Mb/s downstream and 2488Mb/s upstream
• Compliant with ITU-T G984.2 Class B+ or C+
• 2-wire interface for integrated digital diagnostic monitoring (SFF-8472)

Mason.Lyu wrote:
GPON ONU moduleThe...(恕刪)

所以這個的意思是 RouterBoard對應OK的光纖模組 就可以直連FTTH?
  • 860
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 860)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?