OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • routing wan 2 for vpn and internet
« previous next »
  • Print
Pages: [1]

Author Topic: routing wan 2 for vpn and internet  (Read 3092 times)

Albertoopnsense

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
routing wan 2 for vpn and internet
« 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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: routing wan 2 for vpn and internet
« Reply #1 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • routing wan 2 for vpn and internet
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2