Load Balancing help

Hello Dear openwrt Experts, Looking forward your help.

Router Model: ZBT-Z800AX

Is it possible to Load Balancing this way?

=> Suppose, all website traffic should goes through WAN Internet.
=> If WAN internet failover then only gmail.com, google.com and some specific websites traffic should be redirect through SIM 4/5G internet.
=> However other website shouldn't be accessible though SIM internet if WAN internet fails.
=> Also make sure that if WAN internet available then all traffic (Including Gmail.com google.com ) should be redirect through WAN Internet port.

Router Load Balancing config screenshots shared below.









Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board

Thanks for your reply.

root@Router:~# ubus call system board
{
        "kernel": "4.4.60",
        "hostname": "Router",
        "model": "Qualcomm Technologies, Inc. IPQ807x\/AP-HK09",
        "release": {
                "distribution": "OpenWrt",
                "version": "Chaos Calmer",
                "revision": "23.0414_151832",
                "codename": "chaos_calmer",
                "target": "ipq\/ipq807x_64",
                "description": "OpenWrt Chaos Calmer 15.05.1"
        }
}

It appears you are using firmware that is not from the official OpenWrt project.

When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.

You may find that the best options are:

  1. Install an official version of OpenWrt, if your device is supported (see https://firmware-selector.openwrt.org).
  2. Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
  3. Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).

If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.

@brada4 , If I install official firmware then is it possible to create policy based on my requirement?

yes, it should be doable.

having access to google.com feel kind of pointless though, since you're blocking most links it'll provide you with ?

Just add interface weights and no balance rules

If you want gmail and it's content data accessible then I think it should also allow google content services.
Our main target is gmail.com

=> Suppose, all website traffic should goes through WAN Internet.
=> If WAN internet failover then only gmail.com traffic should be redirect through SIM 4/5G internet.
=> However other website shouldn't be accessible though SIM internet if WAN internet fails.
=> Also make sure that if WAN internet available then all traffic (Including Gmail.com ) should be redirect through WAN Internet port.

No. tt won't work without load balancing. Because
=> Also make sure that if WAN internet available then all traffic (Including Gmail.com ) should be redirect through WAN Internet port.