Load Balancing Mikrotik
it's easy to make load balancing use this methods and i am sure you're all
will not confuse to use it.
this is a simple Load balancing.
/ip firewall mangle
add action=mark-connection chain=input comment=”NEW Load Balance” connection-state=new disabled=no in-interface=\
pppoe-speedy1 new-connection-mark=ISP1 passthrough=yes
add action=mark-connection chain=input comment=”" connection-state=new disabled=no in-interface=pppoe-speedy2 \
new-connection-mark=ISP2 passthrough=yes
add action=mark-routing chain=output comment=”" connection-mark=speedy1 disabled=no new-routing-mark=ISP1 passthrough=\
no
add action=mark-routing chain=output comment=”" connection-mark=speedy2 disabled=no new-routing-mark=ISP2 passthrough=\
no
add action=mark-connection chain=prerouting comment=”" disabled=no dst-address-type=!local in-interface=local \
new-connection-mark=speedy1 passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0
add action=mark-connection chain=prerouting comment=”" disabled=no dst-address-type=!local in-interface=local \
new-connection-mark=speedy2 passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1
add action=mark-routing chain=prerouting comment=”" connection-mark=ISP1 disabled=no in-interface=local \
new-routing-mark=ISP1 passthrough=yes
add action=mark-routing chain=prerouting comment=”" connection-mark=ISP2 disabled=no in-interface=local \
new-routing-mark=ISP1 passthrough=yes
and then --> /Ip Firewall NAT
/ip firewall nat
add action=masquerade chain=srcnat comment=”masquerade lokal network” disabled=no src-address=”local Ip ”
/Ip route
/ip route
add comment=”" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy2 routing-mark=ISP2
add comment=”" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy1 routing-mark=ISP1
add comment=”" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy1
add comment=”" disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-speedy2
good luck......
Load Balancing Mikrotik 2 ISP
Mikrotik and Internal Web Proxy
Mikrotik and Internal Web Proxy
First,We have to enable web proxy Mikrotik
/ip web proxy
Next step is Setting up your Firewal
/ip firewall Nat
add chain = srcnat action = masquerade
out interface = Public
add chain=dstnat action=redirect to-ports=8080 protocol=tcp src-address=Your Local Ip Address in-interface=LAN dst-port=80
Then setting up on Ip Firewall mangle
0 ;;; HIT TRAFFIC FROM PROXY
chain=output out-interface=lan
dscp=4 action=mark-packet
new-packet-mark=proxy-hit passthrough=no
1 ;;; UP TRAFFIC
chain=prerouting in-interface=lan
src-address=192.168.0.0/24 action=mark-packet
new-packet-mark=test-up passthrough=no
2 ;;; CONN-MARK
chain=forward src-address=192.168.0.0/24
action=mark-connection
new-connection-mark=test-conn passthrough=yes
3 ;;; DOWN-DIRECT CONNECTION
chain=forward in-interface=public
connection-mark=test-conn action=mark-packet
new-packet-mark=test-down passthrough=no
4 ;;; DOWN-VIA PROXY
chain=output out-interface=lan
dst-address=192.168.0.0/24 action=mark-packet
new-packet-mark=test-down passthrough=no
Setting Simple Queue for each Client
name=”Client 1″
target-addresses=192.168.0.21/32
dst-address=0.0.0.0/0
interface=all
parent=none
packet-marks=test-down
direction=both
priority=8
queue=default-small/default-small
limit-at=0/0
max-limit=128000/384000
burst-limit=0/0
burst-threshold=0/0
burst-time=0s/0s
total-queue=default-small
Let's try and leave a comment here.thanks
Jasa Instalasi Warnet
Anda ingin membuat usaha Rental warnet,Segera hub kami.Kami menyediakan Jasa instalasi dan maintenance untuk warnet.harga untuk 1 unit computer branded second dengan spesifikasi:
pentium 4 ,Ram 1Gb ,Hardisk 40-80Gb ,vga onboard ,Lcd 17 Inc ,keyboard&mouse
harga Rp.1.300.000
Hub.0812 700 58384
Neotech Computers Services ,Kota Batam,Kepulauan Riau Indonesia (NCS)