Hi, I setup the mwan with 4 pppoe wan on a physical wan port.
I created two rules and one is dedicated for my lan computer 192.168.1.5 accessing https 443 port and the another for default loadbalancing.
config rule 'wan1_web'
option proto 'tcp'
option use_policy 'wan1_only'
option src_ip '192.168.1.5/24'
option dest_port '443'
config rule 'default_rule'
option dest_ip '0.0.0.0/0'
option use_policy 'load_balance'
option proto 'all'
Active rules:
source destination proto src-port dest-port policy hits
---------------------------------------------------------------------------------------------------
192.168.1.0/24 0.0.0.0/0 tcp 0:65535 443 wan1_only 62
0.0.0.0/0 0.0.0.0/0 all load_balance 317
Chain mwan3_rules (1 references)
pkts bytes target prot opt in out source destination
93 9352 mwan3_policy_wan1_only tcp -- * * 192.168.1.0/24 0.0.0.0/0 multiport sports 0:65535 multiport dports 443 mark match 0x0/0xff00 /* wan1_web */
968 62408 mwan3_policy_load_balance all -- * * 0.0.0.0/0 0.0.0.0/0 mark match 0x0/0xff00 /* default_rule */
however, I noticed that mwan generated iptable rules not for the lan computer 192.168.1.5 but for the whole network 192.168.1.0/24.
Is it by design or is it a bug?