---> https://ibb.co/bX55YPX
my config as pic is here
--->https://ibb.co/crnWSWz
--->https://ibb.co/YdV6mCw
--->https://ibb.co/R9pF65c
--->https://ibb.co/tcGKnWg
--->https://ibb.co/m5dHRsG
and this log pic
--->https://ibb.co/KKpgBv5
my config as config file is :
Code: Select all
/interface ethernet
set [ find default-name=ether1 ] name=ether1_ISP1
set [ find default-name=ether2 ] name=ether2_ISP2
set [ find default-name=ether3 ] name=ether3_LAN1
set [ find default-name=ether4 ] name=ether4_LAN2
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip hotspot profile
add dns-name=s.com hotspot-address=192.168.2.1 html-directory=flash/hotspot \
name=hsprof1 use-radius=yes
add dns-name=s.com hotspot-address=192.168.3.1 html-directory=flash/hotspot \
name=hsprof2 use-radius=yes
/ip pool
add name=dhcp_pool0 ranges=192.168.2.2-192.168.2.254
add name=dhcp_pool1 ranges=192.168.3.2-192.168.3.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=ether3_LAN1 lease-time=30m \
name=dhcp1
add address-pool=dhcp_pool1 disabled=no interface=ether4_LAN2 lease-time=30m \
name=dhcp2
/ip hotspot
add address-pool=dhcp_pool0 disabled=no interface=ether3_LAN1 name=hotspot1 \
profile=hsprof1
add address-pool=dhcp_pool1 disabled=no interface=ether4_LAN2 name=hotspot2 \
profile=hsprof2
/tool user-manager customer
set admin access=\
own-routers,own-users,own-profiles,own-limits,config-payment-gw password=\
0595272939
/tool user-manager profile
add name=1m name-for-users="" override-shared-users=off owner=admin price=0 \
starts-at=logon validity=2d
/tool user-manager profile limitation
add address-list="" download-limit=0B group-name="" ip-pool="" name=1m owner=\
admin rate-limit-min-rx=262144B rate-limit-min-tx=2097152B rate-limit-rx=\
262144B rate-limit-tx=2097152B transfer-limit=5368709120B upload-limit=0B \
uptime-limit=2d
/ip address
add address=192.168.1.5/24 comment=ISP1 interface=ether1_ISP1 network=\
192.168.1.0
add address=192.168.20.4/24 comment=ISP2 interface=ether2_ISP2 network=\
192.168.20.0
add address=192.168.5.2/24 comment="Login Port" interface=ether5 network=\
192.168.5.0
add address=192.168.2.1/24 comment=LAN1 interface=ether3_LAN1 network=\
192.168.2.0
add address=192.168.3.1/24 comment=LAN2 interface=ether4_LAN2 network=\
192.168.3.0
/ip dhcp-server network
add address=192.168.2.0/24 dns-server=8.8.8.8 gateway=192.168.2.1
add address=192.168.3.0/24 dns-server=8.8.8.8 gateway=192.168.3.1
/ip dns
set servers=8.8.8.8
/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=LAN1 new-routing-mark=ISP1 \
passthrough=yes src-address=192.168.2.0/24
add action=mark-routing chain=prerouting comment=LAN2 new-routing-mark=ISP2 \
passthrough=yes src-address=192.168.3.0/24
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=\
"place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.2.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=192.168.3.0/24
/ip hotspot user
add name=admin password=admin
/ip route
add distance=1 gateway=192.168.1.1 routing-mark=ISP1
add distance=1 gateway=192.168.20.1 routing-mark=ISP2
/tool user-manager database
set db-path=flash/user-manager
/tool user-manager profile profile-limitation
add from-time=0s limitation=1m profile=1m till-time=23h59m59s weekdays=\
sunday,monday,tuesday,wednesday,thursday,friday,saturday
/tool user-manager router
add coa-port=1700 customer=admin disabled=yes ip-address=10.10.2.1 log=\
auth-ok,auth-fail name=r2 shared-secret=0595272939 use-coa=no
add coa-port=1700 customer=admin disabled=yes ip-address=10.10.1.1 log=\
auth-ok,auth-fail name=r1 shared-secret=0595272939 use-coa=no
/tool user-manager user
add customer=admin disabled=no password=2222 shared-users=1 username=2222 \
wireless-enc-algo=none wireless-enc-key="" wireless-psk=""