Aside from the fact that the devices is not suitable to act as NAT gateway for Gbps internet, the configuration posted in the OP has several issues:
-
vlan-filtering=yesis missing on the bridge. -
Device is still using the very old version
7.6, and declares the two interfacesNetworkDevicesandNutterDevices, but under/interface bridge vlanthebridgeis not listed in thetaggedlist of VLAN10and40. If you want to be lazy and omit that, then you'll need to upgrade RouterOS to the recently released versions, where that will be done automatically for you. -
Port
ether2haspvid=10andframe-types=admit-all, but under/interface bridge vlanis listed in thetaggedlist of VLAN10.-
If you want
ether2to be access port of VLAN10, then you must remove it from thetaggedlist and it it to theuntaggedlist (optional, RouterOS can also do it automatically for you). -
But if you want VLAN
10to be tagged on that port, then EITHER setframe-types=admit-only-vlan-taggedonether2(make it trunk port only); OR keepframe-types=admit-allbut changepvid=1(ether2will be hybrid port).
-
-
VLAN
40has no port assigned. -
The
bridgeinterface that appears to be your WAN interface (quite questionable setup) should be in the interface listWANand notLAN. Create an interface listWANand move thebridgeto it. -
Port
ether2doesn't need to be in theLANinterface list. -
You have wrong and redundant
masqueraderules, remove all and only keep:/ip firewall nat add action=masquerade chain=srcnat out-interface-list=WAN -
Where are the firewall filter rules protecting your router and the LAN?
About how to configure VLAN, read the official docs, including the examples. If you don't know the several VLAN terms, read this often linked guide, the first post explains the concepts.
If you want to secure your firewall, apply the defconf firewall rules that come with MikroTik's SOHO devices here (use the rules for RouterOS 7).
Further, you should not use the whole bridge as WAN interface. Assuming ether7 is the port connected to the ISP, you should do the following modifications (after having upgraded RouterOS and fixing the VLAN configuration):
- Set
pvid=1000onether7(or any number of your choice between2-4094excluding10and40). - Under
/interface vlancreate VLAN interfacevlan-wanwithbridgeas parent with the VLAN ID above. - Add
vlan-wantoWANinterface list that you've created above. - Modify the DHCP client instance to use
vlan-wanas interface instead ofbridge.