OPNsense Forum

English Forums => General Discussion => Topic started by: Albertoopnsense on August 08, 2016, 05:11:23 pm

Title: routing wan 2 for vpn and internet
Post by: Albertoopnsense on August 08, 2016, 05:11:23 pm
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
Title: Re: routing wan 2 for vpn and internet
Post by: franco on August 11, 2016, 10:12:32 am
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