We have two VLANs. First one is supposed to operate with OpenVPN (NordVPN), have two WiFi networks (5G, 2.4G) and occupy two switch ports. Second one is supposed to be normal, have one WiFi (2.4G) and occupy other two switch ports. The problem is, when I start the OpenVPN service, the first VLAN connects to it, but the internet disappears completely on the second. If I turn it off it comes back. It looks like OpenVPN blocks off all traffic, but I don't know why it happens on both VLANs, when only the first one is linked to the OpenVPN firewall. Here are some details:
config interface 'lan'
option type 'bridge'
option ifname 'eth1.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
option dns '208.67.222.222 208.67.220.220'
config interface 'lan2'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
option ip6assign '60'
option dns '208.67.222.222 208.67.220.220'
option ifname 'eth1.2'
config switch_vlan 'eth1_1'
option device 'switch0'
option vlan '1'
option vid '1'
option ports '3 4 6t'
config switch_vlan 'eth1_2'
option device 'switch0'
option vlan '2'
option ports '1 2 6t'
option vid '2'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0 5'
option vid '3'
config interface 'nordvpntun'
option proto 'none'
option ifname 'tun0'
I set up firewall forwarding like this:
config zone
option name 'vpnfirewall'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'nordvpntun'
config forwarding
option src 'lan'
option dest 'wan'
config forwarding
option src 'lan'
option dest 'vpnfirewall'
config forwarding
option src 'lan2'
option dest 'wan'
Here are some screenshots from GUI: