Routing vpn users coming in one gateway out a different gateway

Started by penley, October 11, 2017, 07:15:15 PM

Previous topic - Next topic
If you have an opnsense setup with two gateways (with two different ISP's) is there a way to route traffic coming in one gateway through the other gateway?
For example if vpn came in on gateway one is it possible to route any traffic coming back to that vpn user through gateway two?


Kind regards,
penley

If you are using Multi-WAN and want to flip flop, that's very hard. If you use VPN incoming in one WAN it's easy to move outgoing (terminated) VPN traffic out the other gateway.

The problem is that if the encrypted tunnel traffic is decrypted there is no way to know where it came from.


Cheers,
Franco

Well that's not entirely true, but you would have to map VPN subnets or IPs to gateways, you could use aliases for this...

Thank you so much @franco! I'll research some more on this as well.