Firewalld. Add VLAN’s to allowed trusted / public zone rules.
Short list of commands for adding VLAN's to trusted zones:
firewall-cmd –zone=trusted –add-source=192.168.0.0/24
firewall-cmd –zone=trusted –add-source=10.0.0.0/24
firewall-cmd –zone=trusted –add-source=10.1.0.0/24
firewall-cmd –zone=trusted –add-source=10.2.0.0/24
firewall-cmd –zone=trusted –add-source=10.3.0.0/24
cat /etc/firewalld/zones/public.xml
firewall-cmd –runtime-to-permanent
cat /etc/firewalld/zones/public.xml
Result of this is:
cat /etc/firewalld/zones/trusted.xml
<?xml version="1.0" encoding="utf-8"?>
<zone target="ACCEPT">
<short>Trusted</short>
<description>All network connections are accepted.</description>
<source address="192.168.0.0/24"/>
<source address="10.0.0.0/24"/>
<source address="10.1.0.0/24"/>
<source address="10.2.0.0/24"/>
<source address="10.3.0.0/24"/>
</zone>
Thx,