Hello, in my particular setup, I manage five distinct user groups on a MikroTik Internet server. The first group is permitted to access only social media websites, while the second group can only access news websites. The third group is restricted to searching websites exclusively. The fourth group enjoys unrestricted access to all websites without any exceptions. On the other hand, the fifth group can access all websites except for abc.com and xyz.com. Furthermore, each group is allocated a specific IP address from the 10.0.1.1/24 range.
What issues can be identified in the provided settings according to the scenario I described?
nov/03/2023 02:24:03 by RouterOS 6.48.6
software id = 4HMU-WCSF
model = 750GL
serial number = 3B050234C0C5
/interface ethernet
set [ find default-name=ether2 ] name=LAN
set [ find default-name=ether1 ] name=WAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip dhcp-server
add disabled=no interface=LAN lease-time=1h name=dhcp1
/ip hotspot profile
add dns-name=www.1.com hotspot-address=10.0.1.1 login-by=
mac,http-chap,https,http-pap name=hsprof1
/ip hotspot user profile
set [ find default=yes ] shared-users=unlimited
/ip pool
add name=hs-pool-2 ranges=10.0.1.2-10.0.1.220
add name=social-media-pool ranges=10.0.1.2-10.0.1.30
add name=news-sites-pool ranges=10.0.1.33-10.0.1.62
add name=search-engines-pool ranges=10.0.1.65-10.0.1.94
add name=allowed-sites-pool ranges=10.0.1.97-10.0.1.126
add name=blocked-sites-pool ranges=10.0.1.129-10.0.1.158
/ip hotspot
add address-pool=hs-pool-2 addresses-per-mac=unlimited disabled=no interface=
LAN name=hotspot1 profile=hsprof1
/ip hotspot user profile
add address-list=social-media address-pool=social-media-pool name=
social-media shared-users=unlimited
add address-list=news-sites address-pool=news-sites-pool name=news-sites
shared-users=unlimited
add address-list=search-engines address-pool=search-engines-pool name=
search-engines shared-users=unlimited
add address-list=allowed-sites address-pool=allowed-sites-pool name=
allowed-sites shared-users=unlimited
add address-list=blocked-sites address-pool=blocked-sites-pool name=
blocked-sites shared-users=unlimited
/lora servers
add address=eu.mikrotik.thethings.industries down-port=1700 name=TTN-EU
up-port=1700
add address=us.mikrotik.thethings.industries down-port=1700 name=TTN-US
up-port=1700
add address=eu1.cloud.thethings.industries down-port=1700 name=
“TTS Cloud (eu1)” up-port=1700
add address=nam1.cloud.thethings.industries down-port=1700 name=
“TTS Cloud (nam1)” up-port=1700
add address=au1.cloud.thethings.industries down-port=1700 name=
“TTS Cloud (au1)” up-port=1700
add address=eu1.cloud.thethings.network down-port=1700 name=“TTN V3 (eu1)”
up-port=1700
add address=nam1.cloud.thethings.network down-port=1700 name=“TTN V3 (nam1)”
up-port=1700
add address=au1.cloud.thethings.network down-port=1700 name=“TTN V3 (au1)”
up-port=1700
/tool user-manager customer
set admin access=
own-routers,own-users,own-profiles,own-limits,config-payment-gw
/ip neighbor discovery-settings
set discover-interface-list=!dynamic
/ip address
add address=10.0.1.1/24 interface=LAN network=10.0.1.0
add address=192.168.1.1/24 disabled=yes interface=WAN network=192.168.1.0
/ip dhcp-client
add disabled=no interface=WAN
/ip dhcp-server lease
add address=10.0.1.130 client-id=1:18:A9:05:C4:BF:DB mac-address=
18:A9:05:C4:BF:DB server=dhcp1 use-src-mac=yes
/ip dhcp-server network
add address=10.0.1.0/24 comment=“hotspot network” gateway=10.0.1.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add address=facebook.com list=social-media
add address=twitter.com list=social-media
add address=instagram.com list=social-media
add address=cnn.com list=news-sites
add address=bbc.com list=news-sites
add address=nytimes.com list=news-sites
add address=google.com list=search-engines
add address=bing.com list=search-engines
add address=yahoo.com list=search-engines
add address=10.0.1.97-10.0.1.126 list=allowed-sites
add address=abc.com list=blocked-sites
add address=xyz.com list=blocked-sites
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=
“place hotspot rules here” disabled=yes
add action=accept chain=forward dst-port=80,443 in-interface=LAN protocol=tcp
src-address-list=allowed-sites
add action=accept chain=forward dst-port=80,443 in-interface=LAN protocol=tcp
src-address-list=blocked-sites
add action=drop chain=forward dst-port=80,443 in-interface=LAN protocol=tcp
src-address-list=social-media
add action=drop chain=forward dst-port=80,443 in-interface=LAN protocol=tcp
src-address-list=news-sites
add action=drop chain=forward dst-port=80,443 in-interface=LAN protocol=tcp
src-address-list=search-engines
/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”
src-address=192.168.1.0/24
add action=masquerade chain=srcnat comment=“masquerade hotspot network”
src-address=10.0.1.0/24
add action=masquerade chain=srcnat comment=“masquerade hotspot network”
src-address=10.0.1.0/24
/ip hotspot user
add name=admin
add address=10.0.1.2 name=1 profile=social-media
add address=10.0.1.60 name=2 profile=news-sites
add address=10.0.1.70 name=3 profile=search-engines
add address=10.0.1.100 name=4 profile=allowed-sites
add address=10.0.1.130 mac-address=18:A9:05:C4:BF:DB name=5 profile=
blocked-sites
/ip route
add distance=1 gateway=192.168.1.1
/radius
add address=192.168.1.60 secret=atoqa service=ppp,hotspot timeout=3s
/radius incoming
set accept=yes port=1700
/system clock
set time-zone-name=Africa/Cairo
/system gps
set set-system-time=yes
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set WAN disabled=yes display-time=5s
set LAN disabled=yes display-time=5s
set ether3 disabled=yes display-time=5s
set ether4 disabled=yes display-time=5s
set ether5 disabled=yes display-time=5s
/tool user-manager database
set db-path=user-manager
/user aaa
set default-group=full interim-update=1m use-radius=yes