Trouble getting internet on vlan

Hello,
ive been battling mikrotik to do simple vlan segmentation, I could get internet on vlan 20 through virtual wifi but cannot get it to do internet on vlan 10. Am I missing firewall rules? I based this config on this tutorial: Using RouterOS to VLAN your network - #3 by pcunite (Router-Switch-AP (all in one))

# 2026-10-16 14:48:19 by RouterOS 7.24.2
# software id = 
#
# model = RBwAPG-5HacD2HnD
# serial number = 
/interface bridge
add admin-mac=[] auto-mac=no name=BR1 protocol-mode=none vlan-filtering=yes
/interface vlan
add interface=BR1 name=vlan_iot vlan-id=20
add interface=BR1 name=vlan_main vlan-id=10
/interface list
add name=WAN
add name=VLAN
add name=LAN
/interface lte apn
set [ find default=yes ] ip-type=ipv4 use-network-apn=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=std supplicant-identity=""
add authentication-types=wpa2-psk mode=dynamic-keys name=iot supplicant-identity=""
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX disabled=no distance=indoors frequency=auto \
    installation=outdoor mode=ap-bridge security-profile=std ssid=[] wireless-protocol=802.11 wps-mode=disabled
set [ find default-name=wlan2 ] band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX disabled=no distance=indoors \
    frequency=auto installation=outdoor mode=ap-bridge security-profile=std ssid=[] wireless-protocol=802.11 \
    wps-mode=disabled
add disabled=no mac-address=[] master-interface=wlan1 name=wlan3 security-profile=iot ssid=iot_sh \
    vlan-id=20 wps-mode=disabled
/ip pool
add name=pirmais_tikls ranges=192.168.1.20-192.168.1.254
add name=iot ranges=192.168.20.2-192.168.20.254
/ip dhcp-server
add address-pool=pirmais_tikls interface=vlan_main name=galvenais_tikls
add address-pool=iot interface=vlan_iot name=dhcp_iot
/interface bridge port
add bridge=BR1 frame-types=admit-only-untagged-and-priority-tagged interface=ether2 pvid=10
add bridge=BR1 frame-types=admit-only-untagged-and-priority-tagged interface=wlan1 pvid=10
add bridge=BR1 frame-types=admit-only-untagged-and-priority-tagged interface=wlan2 pvid=10
add bridge=BR1 frame-types=admit-only-untagged-and-priority-tagged interface=wlan3 pvid=20
/ip neighbor discovery-settings
set discover-interface-list=LAN
/ipv6 settings
set disable-ipv6=yes
/interface bridge vlan
add bridge=BR1 tagged=BR1 vlan-ids=10
add bridge=BR1 tagged=BR1 vlan-ids=20
/interface list member
add interface=ether1 list=WAN
add interface=vlan_main list=VLAN
add interface=vlan_iot list=VLAN
add disabled=yes interface=vlan_main list=LAN
/ip address
add address=192.168.1.0/24 interface=vlan_main network=192.168.1.0
add address=192.168.20.1/24 interface=vlan_iot network=192.168.20.0
/ip dhcp-client
add comment=defconf interface=ether1 name=ether1
/ip dhcp-server lease
add address=192.168.1.40 client-id=1:[] mac-address=[] server=galvenais_tikls
/ip dhcp-server network
add address=192.168.1.0/24 dns-server=1.1.1.1,1.0.0.1 domain=talavas gateway=192.168.1.1
add address=192.168.20.0/24 dns-server=1.1.1.1,1.0.0.1 gateway=192.168.20.1
/ip dns
set allow-remote-requests=yes servers=1.1.1.1,1.0.0.1
/ip firewall filter
add action=accept chain=input comment="Allow Estab & Related" connection-state=established,related
add action=accept chain=input comment="Allow VLAN" in-interface-list=VLAN
add action=accept chain=input comment="Allow Base_Vlan Full Access" disabled=yes in-interface=vlan_main
add action=drop chain=input comment=Drop
add action=accept chain=forward comment="Allow Estab & Related" connection-state=established,related
add action=accept chain=forward comment="VLAN Internet Access only" connection-state=new in-interface-list=VLAN \
    out-interface-list=WAN
add action=drop chain=forward comment=Drop
/ip firewall nat
add action=masquerade chain=srcnat comment="Default masquerade" ipsec-policy=out,none out-interface-list=WAN
/ip firewall service-port
set ftp disabled=yes
set tftp disabled=yes
/system clock
set time-zone-name=Europe/Riga
/system identity
set name=Ienakosais_AP_FIREWALL
/tool mac-server
set allowed-interface-list=LAN
/tool mac-server mac-winbox
set allowed-interface-list=LAN

192.168.1.0 is the network address - not a host ip address. Fix that and check again.

Thank you! I feel so dumb now. I guess staring at same lines for hours doesnt help.

It happens, and I think that we have all been there at one point or another . . .

I think there was already a forum discussion on the matter: should "address" accept such an address? Technically it is a valid ip address. I can't think of a use case where one would need a network address in /ip/address? If there aren't any, then a warning message would be helpful for users to easily spot the issue.

Many full /24 VLANS that are concentrated at one bridge with eg. /21 mask concentrating traffic from interfaces servinf 256 hosts each.

I understand 192.168.1.0/21 is a valid host address. But still why 192.168.1.0/24 would serve a purpose?