Internet problem with VLans

Hello everyone. I want to create Vlan0 and Vlan1 on my crs326. i want to make my main network as 192.168.2.1 and Vlan0 : 192.168.0.1 and Vlan2: 192.168.1.1 so i can make my network department by department. i do it on CRS326 everything is good with networking. Every department takes right ip from ip block but just main network can use internet VLan0 and VLan1 cant out to internet. Here i put my config file so u can see what is wrong with it. Thank you for your help. Have nice day to all.


/interface bridge
add name=bridgeMain
add name=bridgeVLAN0
add name=bridgeVLAN1
/interface ethernet
set [ find default-name=ether1 ] comment=WAN
/interface vlan
add interface=bridgeVLAN0 name=vlan0 vlan-id=10
add interface=bridgeVLAN1 name=vlan1 vlan-id=1
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=Umarine
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=dhcp ranges=192.168.0.20-192.168.0.240
add name=dhcp_pool1 ranges=192.168.1.20-192.168.1.240
/ip dhcp-server
add address-pool=dhcp disabled=no interface=bridgeVLAN0 name=dhcp1
add address-pool=dhcp_pool1 disabled=no interface=bridgeVLAN1 name=dhcp2
/interface bridge port
add bridge=bridgeVLAN0 interface=ether9
add bridge=bridgeVLAN0 interface=ether10
add bridge=bridgeVLAN0 interface=ether11
add bridge=bridgeVLAN0 interface=ether12
add bridge=bridgeVLAN0 interface=ether13
add bridge=bridgeVLAN0 interface=ether14
add bridge=bridgeVLAN0 interface=ether15
add bridge=bridgeVLAN0 interface=ether16
add bridge=bridgeVLAN1 interface=ether17
add bridge=bridgeVLAN1 interface=ether18
add bridge=bridgeVLAN1 interface=ether19
add bridge=bridgeVLAN1 interface=ether20
add bridge=bridgeVLAN1 interface=ether21
add bridge=bridgeVLAN1 interface=ether22
add bridge=bridgeVLAN1 interface=ether23
add bridge=bridgeVLAN1 interface=ether24
add bridge=bridgeMain interface=ether2
add bridge=bridgeMain interface=ether3
add bridge=bridgeMain interface=ether4
add bridge=bridgeMain interface=ether5
add bridge=bridgeMain interface=ether6
add bridge=bridgeMain interface=ether7
add bridge=bridgeMain interface=ether8
add bridge=bridgeMain interface=ether1
/interface bridge vlan
add bridge=bridgeVLAN1 tagged=ether1 untagged=
ether17,ether18,ether19,ether20,ether21,ether22,ether23,ether24 vlan-ids=
1
add bridge=bridgeVLAN0 tagged=ether1 untagged=
ether9,ether10,ether11,ether12,ether13,ether14,ether15,ether16 vlan-ids=
10
/interface list member
add interface=ether1 list=WAN
add interface=bridgeVLAN0 list=LAN
add interface=bridgeVLAN1 list=LAN
/ip address
add address=192.168.0.1/24 interface=bridgeVLAN0 network=192.168.0.0
add address=192.168.1.1/24 interface=bridgeVLAN1 network=192.168.1.0
add address=192.168.2.40/24 interface=ether1 network=192.168.2.0
/ip dhcp-client
add dhcp-options=hostname,clientid interface=ether1
/ip dhcp-server network
add address=192.168.0.0/24 dns-server=192.168.0.1 gateway=192.168.0.1
add address=192.168.1.0/24 dns-server=192.168.1.1 gateway=192.168.1.1
add address=192.168.2.0/24 dns-server=192.168.2.1 gateway=192.168.2.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4
/ip firewall nat
add action=masquerade chain=srcnat out-interface-list=WAN
/ip route
add distance=1 gateway=192.168.2.1
/system clock
set time-zone-name=Europe/Istanbul
/system routerboard settings
set boot-os=router-os