i have a different kind of question.
this is virtualized owrt
please check this connections list
and qosmate config
config global 'global'
option enabled '1'
config settings 'settings'
option WAN 'eth0'
option DOWNRATE '900000'
option UPRATE '900000'
option ROOT_QDISC 'cake'
config advanced 'advanced'
option PRESERVE_CONFIG_FILES '1'
option WASHDSCPUP '1'
option WASHDSCPDOWN '1'
option BWMAXRATIO '20'
option UDP_RATE_LIMIT_ENABLED '0'
option TCP_UPGRADE_ENABLED '1'
config hfsc 'hfsc'
option LINKTYPE 'ethernet'
option OH '44'
option gameqdisc 'pfifo'
option nongameqdisc 'fq_codel'
option nongameqdiscoptions 'besteffort ack-filter'
option MAXDEL '24'
option PFIFOMIN '5'
option PACKETSIZE '450'
option netemdelayms '30'
option netemjitterms '7'
option netemdist 'normal'
option pktlossp 'none'
config cake 'cake'
option COMMON_LINK_PRESETS 'ethernet'
option PRIORITY_QUEUE_INGRESS 'diffserv4'
option PRIORITY_QUEUE_EGRESS 'diffserv4'
option HOST_ISOLATION '1'
option NAT_INGRESS '1'
option NAT_EGRESS '1'
option ACK_FILTER_EGRESS 'auto'
option AUTORATE_INGRESS '0'
config rule
option name 'SSH_out'
option proto 'tcp'
list src_port '22'
option class 'cs5'
option counter '1'
option enabled '1'
config rule
option name 'SSH_In'
option proto 'tcp'
list dest_port '22'
option class 'cs5'
option counter '1'
option enabled '1'
config rule
option name 'HTTP_2'
list dest_port '80'
list dest_port '443'
option class 'cs2'
option counter '1'
option enabled '1'
list src_ip '10.0.0.0/24'
and my network config
config interface 'lan'
option proto 'static'
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
option device 'br-lan'
option delegate '0'
config interface 'wan'
option device 'eth0'
option proto 'dhcp'
root@OpenWrt-23.05.4-sda2:~# ip -o -4 a show dev eth0
2: eth0 inet 192.168.100.131/24 brd 192.168.100.255 scope global eth0\ valid_lft forever preferred_lft forever
so question 1)
where CS6 is coming from? according to qosmate config WASH is enabled for both ingress and egress.
question 2)
i have a lan client with 10.0.0.165 address, i'd assume the given ruleset HTTP_2 would mark all HTTP traffic from my client with CS2 but strangely i don't see HTTP related traffic in Connection list but as you can see everything is shown as from wan ip. is this as designed?