Hi Everyone!
I'm facing a problem that im unable to solve. As context, we have an OPNsense inside our network as a basic server with 2 interfaces, both with different IP and each interface goes to a switch that tags each with different VLANs.
The point is, as far as i know, the VPN traffic (outgoing from a client) has as origin the IP of the OPNsense and will get the VLAN of the interface where it goes through.
So i wanted to configure 2 VPNs, thats why i added the second interface and cable. The first VLAN has more priviledges than the second, so i wanted to get one VPN through the first VLAN and the second VPN through the second one, therefore the users would be matched with their "local" access even throught VPN.
The first VPN has been working fine for a while (using the VLAN with more access which is kinda bad), so i cloned the configuration, changed ports and i even tried binding the IP address to the new port, but it seems that the traffic goes whenever it wants and uses the OPNsense routing, so it won't go to the VLAN that i wanted.
Configuring traffic in Firewall > Rules using VPN network as origin doesnt seem to even match any traffic, so im a bit lost on how to proceed.
Thanks in advance to any answer.
I'm facing a problem that im unable to solve. As context, we have an OPNsense inside our network as a basic server with 2 interfaces, both with different IP and each interface goes to a switch that tags each with different VLANs.
The point is, as far as i know, the VPN traffic (outgoing from a client) has as origin the IP of the OPNsense and will get the VLAN of the interface where it goes through.
So i wanted to configure 2 VPNs, thats why i added the second interface and cable. The first VLAN has more priviledges than the second, so i wanted to get one VPN through the first VLAN and the second VPN through the second one, therefore the users would be matched with their "local" access even throught VPN.
The first VPN has been working fine for a while (using the VLAN with more access which is kinda bad), so i cloned the configuration, changed ports and i even tried binding the IP address to the new port, but it seems that the traffic goes whenever it wants and uses the OPNsense routing, so it won't go to the VLAN that i wanted.
Configuring traffic in Firewall > Rules using VPN network as origin doesnt seem to even match any traffic, so im a bit lost on how to proceed.
Thanks in advance to any answer.
"