routing wan 2 for vpn and internet

Started by Albertoopnsense, August 08, 2016, 05:11:23 PM

Previous topic - Next topic
good morning

i need a support for this problem

i have an opnsense with 2 wan ( a 1 lan)

i want dedicate the first wan ( wan1) to vpn ipsec traffic and the second wan ( to other all web traffic)

witch rule can i create for do this ?

thanks Alberto

Hi Alberto,

You need to add policy routes to the interface tabs, a simple pass rule and the respective gateway on the bottom.

In your case you don't need to set up gateway groups as each interface seems to have a single policy.

IPSec has a separate interface tab in the firewall rules that you can use to implement. The other (non-floating) interfaces all get the other gateway.


Cheers,
Franco