close
Blogtrottr
Mobile01最新文章
 
RB950 3WAN 1LAN 按目標IP策略路由,大大們來指導一下
Apr 1st 2015, 14:41

小弟不才,在這裡學習了很多東西。還是沒有能活用起來,3WAN按線路路由,不合併帶寬,現在這樣的設置網都上不了。 PPTP也會經常斷線,要添加要另外添加一條VPN的通道add dst-address=x.x.x.x/32 gateway=cmcc-out 才能不斷線

下面是我的配置
# apr/01/2015 22:34:05 by RouterOS 6.27
# software id = 2KSH-6QA7
#

/ip firewall address-list
add address=1.2.3.0/24 list=GFWD
add address=111.0.0.0/10 list=mobile

/ip firewall mangle
add action=mark-routing chain=prerouting comment="to cnc" dst-address-list=\
mobile in-interface=ether1 new-routing-mark=to_cnc passthrough=no
add action=mark-routing chain=prerouting comment="to vpn" dst-address-list=\
GFWD in-interface=ether1 new-routing-mark=to_vpn passthrough=no
add action=mark-routing chain=prerouting comment="to cmcc \D6\F7\CF\DF" \
in-interface=ether1 new-routing-mark=to_cmcc passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pptp-out
add action=masquerade chain=srcnat out-interface=cmcc-out
add action=masquerade chain=srcnat out-interface=cnc-out
/ip route
add distance=1 gateway=cnc-out routing-mark=to_cnc
add distance=1 gateway=cmcc-out routing-mark=to_cmcc
add distance=1 gateway=pptp-out routing-mark=to_vpn
add distance=1 gateway=cmcc-out,pptp-out,cnc-out



This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 gsihop12 的頭像
    gsihop12

    2016韓劇推薦排行榜 , 2016韓劇推薦好看的 , 2016韓劇推薦必看 , 2016韓劇 , 2016韓劇排行榜前十名 , 韓劇推薦 ,

    gsihop12 發表在 痞客邦 留言(0) 人氣()