Thabks sergejs for your reply.
Ok i follow many guides and my final setting now like these
/ip hotspot profile
set default dns-name=“” hotspot-address=0.0.0.0 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
default rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name=“” hotspot-address=10.0.0.1 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
HotspotSerProInternal rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name=“” hotspot-address=10.0.5.1 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
HotspotSerProWireless rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no use-radius=no
/ip hotspot user profile
set default idle-timeout=none incoming-packet-mark=test-down keepalive-timeout=2m name=default outgoing-packet-mark=
test-up shared-users=1 status-autorefresh=1m transparent-proxy=no
add advertise=yes advertise-interval=1h advertise-timeout=immediately advertise-url=http://10.0.0.1/dec.htm idle-timeout=
none keepalive-timeout=none name=pay open-status-page=always shared-users=1 status-autorefresh=1m transparent-proxy=
yes
add advertise=yes advertise-interval=0s advertise-timeout=immediately advertise-url=http://10.0.0.1/dec1.htm
idle-timeout=1m keepalive-timeout=none name=ENDED open-status-page=always shared-users=1 status-autorefresh=1m
transparent-proxy=yes
/ip pool
add name=poolinternal ranges=10.0.0.2-10.0.1.254
add name=poolwireless ranges=10.0.4.2-10.0.5.254
/ip dhcp-server
add address-pool=poolinternal authoritative=after-2sec-delay bootp-support=static disabled=no interface=internal
lease-time=3d name=dhcp1
add address-pool=poolwireless authoritative=after-2sec-delay bootp-support=static disabled=no interface=wireless
lease-time=3d name=dhcp2
/ip hotspot
add address-pool=poolinternal addresses-per-mac=1 disabled=no idle-timeout=none interface=internal keepalive-timeout=none
name=hotspotinternal profile=HotspotSerProInternal
add address-pool=poolwireless addresses-per-mac=1 disabled=no idle-timeout=none interface=wireless keepalive-timeout=none
name=hotspotwireless profile=HotspotSerProWireless
/queue interface
set ll queue=ethernet-default
set internal queue=ethernet-default
set wireless queue=ethernet-default
/queue type
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 red-limit=60
red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
add kind=pcq name=pcq-download pcq-classifier=dst-address pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
add kind=pcq name=pcq-upload pcq-classifier=src-address pcq-limit=50 pcq-rate=0 pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“” direction=both disabled=yes dst-address=0.0.0.0/0
interface=internal limit-at=0/0 max-limit=256000/1000000 name=Limit-Local parent=none priority=8 queue=
pcq-upload/pcq-download target-addresses=10.0.0.0/23 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“” direction=both disabled=yes dst-address=0.0.0.0/0
interface=wireless limit-at=0/0 max-limit=256000/1000000 name=queue1 parent=none priority=8 queue=
pcq-upload/pcq-download target-addresses=10.0.4.0/23 total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment=“” direction=both disabled=no dst-address=0.0.0.0/0
interface=all limit-at=0/0 max-limit=64000/64000 name=p2p p2p=all-p2p parent=none priority=8 queue=
default-small/default-small total-queue=default-small
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=downstream packet-mark=
test-down parent=internal priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=2000000 name=upstream packet-mark=
test-up parent=global-in priority=8 queue=default
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 max-limit=0 name=downstream2 packet-mark=
test-down parent=wireless priority=8 queue=default
/ip address
add address=10.0.0.1/23 broadcast=10.0.1.255 comment=“added by setup” disabled=no interface=internal network=10.0.0.0
add address=10.0.5.1/23 broadcast=10.0.5.255 comment=“added by setup” disabled=no interface=wireless network=10.0.4.0
add address=192.168.1.147/24 broadcast=192.168.1.255 comment=“added by setup” disabled=no interface=ll network=
192.168.1.0
/ip dhcp-server network
add address=10.0.0.0/23 comment=“added by setup” dns-server=208.67.222.222,208.67.220.220 gateway=10.0.0.1
add address=10.0.4.0/23 comment=“added by setup” dns-server=208.67.222.222,208.67.220.220 gateway=10.0.5.1
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 primary-dns=208.67.222.222
secondary-dns=208.67.220.220
/ip firewall mangle
add action=mark-packet chain=output comment=“Hit Traffic from proxy” disabled=no dscp=0 new-packet-mark=proxy-hit
out-interface=internal passthrough=no
add action=mark-packet chain=output comment=“Hit Traffic from proxy” disabled=no dscp=0 new-packet-mark=proxy-hit
out-interface=wireless passthrough=no
add action=mark-packet chain=prerouting comment=“7 Up Traffic” disabled=no in-interface=internal new-packet-mark=test-up
passthrough=no src-address=10.0.0.0/23
add action=mark-packet chain=prerouting comment=“7 Up Traffic” disabled=no in-interface=wireless new-packet-mark=test-up
passthrough=no src-address=10.0.4.0/23
add action=mark-connection chain=forward comment=“8 Conn-Mark” disabled=no new-connection-mark=test-conn passthrough=yes
src-address=10.0.0.0/23
add action=mark-connection chain=forward comment=“8 Conn-Mark” disabled=no new-connection-mark=test-conn passthrough=yes
src-address=10.0.4.0/23
add action=mark-packet chain=forward comment=“9 Down-Direct Connection” connection-mark=test-conn disabled=no
in-interface=ll new-packet-mark=test-down passthrough=no
add action=mark-packet chain=output comment=“10 Down-Via proxy” disabled=no dst-address=10.0.0.0/23 new-packet-mark=
test-down out-interface=internal passthrough=no
add action=mark-packet chain=output comment=“10 Down-Via proxy” disabled=no dst-address=10.0.4.0/23 new-packet-mark=
test-down out-interface=wireless passthrough=no
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=“place hotspot rules here” disabled=yes
add action=masquerade chain=srcnat comment=1 disabled=no out-interface=ll src-address=10.0.0.0/23
add action=masquerade chain=srcnat comment=1 disabled=no out-interface=ll src-address=10.0.4.0/23
add action=redirect chain=dstnat comment=3 disabled=no dst-port=80 in-interface=internal protocol=tcp src-address=10.0.0.0/23 to-ports=3128
add action=redirect chain=dstnat comment=3 disabled=no dst-port=80 in-interface=wireless protocol=tcp src-address=10.0.4.0/23 to-ports=3128
/ip hotspot user
add comment=“” disabled=no name=admin password=XXXX profile=default server=hotspotinternal
/ip proxy
set always-from-cache=yes cache-administrator=webmaster cache-drive=system cache-hit-dscp=0 cache-on-disk=yes enabled=yes
max-cache-size=unlimited max-client-connections=600 max-fresh-time=4w2d max-server-connections=600 parent-proxy=
0.0.0.0 parent-proxy-port=0 port=3128 serialize-connections=yes src-address=0.0.0.0
/ip route
add comment=“added by setup” disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1 scope=30 target-scope=10
\
Do you think its right setting becuase its seems works fine with me until now but i dont know if these setting will make all users get equal bandiwth for un cached files (internet)?