OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Outbound WAN routing not working
« previous next »
  • Print
Pages: [1]

Author Topic: Outbound WAN routing not working  (Read 76 times)

markjose

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Outbound WAN routing not working
« on: December 02, 2024, 11:22:16 pm »
Hello

I have two independent WAN connections, what I would like to do is send one network out on one of the connections and the rest out on the others. Diagram is bellow

Wan ------------ All VLANS
Wan 2 ---------- Video Net only

subnet of the video net 192.168.3.0/24

When I change the outbound NAT from WAN to WAN 2 I can't ping and get no network access, the moment I change it all back it seems to be good.
Looking through the firewall logs it seems like the connections are going out of the WAN ? using the traceroute utility I can't get to 8.8.8.8 from opnsense and if I change the outbound routing all comes good.

The WAN connections are on two ISP's not sharing the same path and are provided by separate providers is there anything else I could try?

I have attached a number of screenshots for reference on the above.

Regards,

Mark
Logged

viragomann

  • Full Member
  • ***
  • Posts: 226
  • Karma: 7
    • View Profile
Re: Outbound WAN routing not working
« Reply #1 on: December 02, 2024, 11:37:36 pm »
The outbound NAT does only address translation.
To direct traffic out to a non-default gateway you have to add a Policy based routing rule to the Video interface. See: https://docs.opnsense.org/manual/firewall.html#policy-based-routing
Logged

mooh

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 3
    • View Profile
Re: Outbound WAN routing not working
« Reply #2 on: Today at 02:13:50 pm »
Disable (set checkmark) in Firewall: Settings: Advanced "Disable force gateway"
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Outbound WAN routing not working
 

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