Hi,
I am trying to set up a single OpnSense instance to serve as a default gateway with multiple upstream VPNs, where the upstream VPN that gets used for forwarding client traffic is selected based on which ip address the client used for a gateway.
So, for example, assume my opnsense instance has address 10.0.0.10/24 and ip alias 10.0.0.20/24 on its LAN interface. If a LAN client used 10.0.0.10 as its gateway, I would like to forward this traffic through VPN A. But if a client used 10.0.0.20 as the gateway, then I want to forward that traffic through VPN B.
Is this possible? I know how to do it with multiple interfaces in the opnsense, but I can't figure out how to accomplish this on a single interface/subnet.
I am trying to set up a single OpnSense instance to serve as a default gateway with multiple upstream VPNs, where the upstream VPN that gets used for forwarding client traffic is selected based on which ip address the client used for a gateway.
So, for example, assume my opnsense instance has address 10.0.0.10/24 and ip alias 10.0.0.20/24 on its LAN interface. If a LAN client used 10.0.0.10 as its gateway, I would like to forward this traffic through VPN A. But if a client used 10.0.0.20 as the gateway, then I want to forward that traffic through VPN B.
Is this possible? I know how to do it with multiple interfaces in the opnsense, but I can't figure out how to accomplish this on a single interface/subnet.
"