Рет қаралды 78,815
Script:
/ip firewall mangle
add action=accept chain=prerouting dst-address=192.168.10.0/24
add action=accept chain=prerouting dst-address=192.168.11.0/24
------------------------------------------------------------------------------------------------------
Script:---------------------------------------------------
/ip firewall mangle
add action=accept chain=prerouting dst-address=192.168.11.0/24
add action=accept chain=prerouting dst-address=192.168.12.0/24
add action=mark-connection chain=input in-interface=WAN1 new-connection-mark=\
WAN1_conn passthrough=yes
add action=mark-connection chain=input in-interface=WAN2 new-connection-mark=\
WAN2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/0 src-address=172.16.0.0/16
add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/1 src-address=172.16.0.0/16
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2
/ip route
add check-gateway=ping distance=1 gateway=192.168.11.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.12.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.11.1,192.168.12.1
--------------------------------------
add action=mark-connection chain=input in-interface=WAN1 new-connection-mark=\
WAN1_conn passthrough=yes
add action=mark-connection chain=input in-interface=WAN2 new-connection-mark=\
WAN2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes
add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/0 src-address=192.168.30.0/24
add action=mark-connection chain=prerouting dst-address-type=!local \
new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=\
both-addresses-and-ports:2/1 src-address=192.168.30.0/24
add action=mark-routing chain=prerouting connection-mark=WAN1_conn \
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_conn \
new-routing-mark=to_WAN2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat out-interface=WAN1
add action=masquerade chain=srcnat out-interface=WAN2
/ip route
add check-gateway=ping distance=1 gateway=192.168.10.1 routing-mark=to_WAN1
add check-gateway=ping distance=1 gateway=192.168.11.1 routing-mark=to_WAN2
add check-gateway=ping distance=1 gateway=192.168.10.1,192.168.11.1
--------------------------------------------------------------------------
Load Balancing in Mikrotik Router Board.
Load balancing a with multiple gateways 2 WAN Links
10 Mbps + 10 Mbps = 20 Mbps
/ @hadinetwork
• MikroTik Tutorial 16 -...
• MikroTik Tutorial 15 -...
• MikroTik Tutorial 14 -...
• MikroTik Tutorial 13 -...
• MikroTik Tutorial 12 -...
• MikroTik Tutorial 11 -...
• MikroTik Tutorial 10 -...
• MikroTik Tutorial 9 - ...
• MikroTik Tutorial 16 -...
• MikroTik Tutorial 8 - ...
• MikroTik Tutorial 7 - ...
• MikroTik Tutorial 6 - ...
• MikroTik Tutorial 5- R...
• MikroTik Tutorial 4 - ...
• MikroTik Tutorial 2- B...
• MikroTik Tutorial 18 -...
-----------------------------------------------------------------
hAP mini, hAP lite
CRS1xx, CRS2xx, CRS312-4C+8XG, CRS326-24S+2Q+, DISC, FiberBox, , LDF, LHG, ltAP mini, mANTBox, mAP, NetBox, PowerBox, PWR-Line, QRT, RB9xx, SXTsq, cAP, hEX Lite, RB4xx, wAP, , RB2011, SXT, OmniTik, Groove, Metal, Sextant, RB7xx, hEX
CCR
RB3xx, RB600, RB8xx,
cAP ac, CRS305-1G-4S+, CRS309-1G-8S+, CRS317-1G-16S+, CRS326-24G-2S+, CRS328-24P-4S+, CRS328-4C-20S-4S+, DISC AC, hAP ac², LDF ac, LHG ac, , SXTsq (ac series), Wireless Wire,
RB230, X86
2.4 GHZ, 5 GHZ,dual radio,
Using the Device Discovery Tool
How to Upgrade Firmware on M Series Devices
Fiber PoE Accessory
UniFi Security Gateway
UniFi Cloud Key
EdgePower 24V
NanoStation M
PoE Adapters
UniFi Switch PoE 24/48
EdgeRouter X
---------------------------------------------
#hadinetwrok.com