OPNsense Forum

English Forums => General Discussion => Topic started by: TUCUadam on October 02, 2023, 09:39:35 PM

Title: Help with Multi WAN and port based routing, please.
Post by: TUCUadam on October 02, 2023, 09:39:35 PM
Hello,

I've already searched and while a few people have had similar issues, the threads all seem to trail off without a fix. Hoping someone can help.

I have a fairly simple setup with 2 1G fiber lines into separate WAN interfaces and a 10G LAN interface. I am trying to configure the firewall to route all https traffic out of WAN-2 and all other traffic out of WAN-1.

Is this a NAT problem with an established session or a firewall rule problem? I feel like it has to be NAT due to the shift+refresh cache clear showing the correct IP, right? I'm just having a hard time grokking the logic flow to find the fault right now.

Title: Re: Help with Multi WAN and port based routing, please.
Post by: TUCUadam on October 03, 2023, 05:31:58 PM
Alright, found the gremlin after a few hours sleep: My firewall rule was TCP:443 instead of TCP/UDP:443 here I was thinking that all HTTPS connections to web servers would be TCP. Enabling UDP in the firewall LAN-In rule sorted everything.