VLAN on top of OpenVPN tap

Started by wedge1001, February 08, 2023, 09:24:49 AM

Previous topic - Next topic
Hi,

i've got a small problem here with my VLAN which is layered on top of OpenVPN Tap connection.
Whenever i reboot OPNsense i loose the connection to this VLAN.
OpenVPN will come up after a few seconds and this network is working fine.

To get my VLAN working again I have to reassign my Interface to something new, delete my VLAN and recreate it again.

it seems like OPNsese tries to setup the VLAN when the VPN isn't connected yet and fails.
it will then just stop doing anything with it.

is there a way to get around a recreation of the VLAN on every reboot?
I don't have a problem running a script that will fix this after every reboot - but I don't know what commands i have to use ^^'
Also, disableing the assigned interface does nothing - the only thing that worked for me was a recreation

I hope someone can point me to the right direction.

(also i have the same issue with a logging-target that is only available if the wireguard connection is up; on every reboot i have to disable and re-enable it)