I recently switched from (xincom dualwan router + antemedia) to mikrotik rb450g hotspot.
My connection to the internet is via (adsl + cable isp). DSL is dynamic IP. Cable IP changes only if I changed MAC.
I am trying to load balance. My customers are complaining that the connection is slow. 30 max active customers. 8 mpbs on dsl and 8 mpbs on cable.
Please advice me on what I am doing wrong below.
/ip firewall export
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s tcp-close-wait-timeout=10s
tcp-established-timeout=1d
tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no tcp-time-wait-timeout=
10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=“place hotspot rules here” disabled=yes
/ip firewall mangle
add action=mark-routing chain=prerouting comment=" Route HTTP traffic to ECMP" disabled=no dst-port=80 new-routing-mark=ecmp-http-route
passthrough=yes protocol=tcp
add action=mark-routing chain=prerouting comment=“SMTP Traffic” disabled=no dst-port=25 new-routing-mark=smtp-out passthrough=yes protocol=tcp
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=“place hotspot rules here” disabled=yes
add action=masquerade chain=srcnat comment=“masquerade hotspot network” disabled=no src-address=10.0.0.0/24
add action=dst-nat chain=dstnat comment=“” disabled=no dst-address=x.x.x.x dst-port=5900 protocol=tcp to-addresses=10.0.0.245 to-ports=5900
add action=dst-nat chain=dstnat comment=“” disabled=no dst-port=8081 in-interface=pppoe-out1 protocol=tcp to-addresses=10.0.0.201 to-ports=80
add action=dst-nat chain=dstnat comment=“” disabled=no dst-port=5900 in-interface=pppoe-out1 protocol=tcp to-addresses=10.0.0.245 to-ports=5900
/ip route
add comment=“ECMP route for HTTP” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=63.245.67.1,205.214.210.1 routing-mark=ecmp-http-route
scope=30 target-scope=10
add comment=“SMTP Traffic out” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=63.245.67.1 routing-mark=smtp-out scope=30 target-scope=10
add comment=“Default Route to Internet” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=205.214.210.1 scope=30 target-scope=10