Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - malith

#1
General Discussion / Re: Newbie - MultiWAN Help
May 27, 2024, 12:03:28 PM
Quote from: Patrick M. Hausen on May 27, 2024, 11:23:23 AM
An URL based alias is supposed to point to a downloadable list of IP addresses. You probably just want type host.

https://docs.opnsense.org/manual/aliases.html

Thank you Patrick. I will try this. I was trying to use the ASN and it has so many complications when different providers sharing the same ASN, when they use some CDN
#2
General Discussion / Re: Newbie - MultiWAN Help
May 27, 2024, 11:19:57 AM
for some reason, if I add the URL to the Alias, it  doesn't resolve the IP
example : alias resolve error Test (error fetching alias url .facebook.com)
#3
General Discussion / Re: Newbie - MultiWAN Help
May 22, 2024, 02:01:53 PM
Thank you so much.

I can't see this option in mine
Navigate to Firewall > Aliases.
Click on Settings at the top.
Enable the option Enable DNS-based alias support.
Click Save to apply the changes.

I setup a URL Table alias, but they don't get resolved for some strange reason. if I try a host alias, it works. So I tried with that and when I try to access youtube for example, it routes through the WAN2 as expected, but as soon as I start playing the video, it falls back to WAN1
#4
General Discussion / Re: Newbie - MultiWAN Help
May 21, 2024, 08:13:12 PM
I tried but for some reason I can't get PBR to work. I think I am doing something wrong
#5
General Discussion / Newbie - MultiWAN Help
May 21, 2024, 01:20:42 PM
Let me explain my goal as best as I could.

currently I am using OpenWRT with MWAN3. In my current setup, if I to access facebook.com, youtube.com and a few other social media sites, MWAN3 will route that traffic via my secondary WAN link which is a LTE router.

Anything else will be routed through my primary, a Fibre link. I am using iptables to achieve this in OpenWRT along with MWAN3.

Here's the actual question

I am trying to achieve the same goal, but using OPNSense. But I know it is completely different from OpenWRT.

can someone please, help me to figure out the best way to achieve this goal. for example, if someone tries to access facebook.com or any or their related services, I want it to be routed through WAN2. Any other requests should go through WAN1. WAN1 should not be routing any facebook, youtube and etc related traffic(the ones I specify)

Additionally, in an event of WAN1 failure, WAN2 should handle both Social Media traffic and the rest of the traffic.

So I think, WAN1 should always remain primary, and if the destination is social media related, WAN1 should reject the traffic and divert it to WAN2. WAN2 just routes anything in and out.