Im having truble marking my trafic on a rotuer that is connected to internet.
I have LAN and WAN interface, and I cant mangle download traffic here is my setup
Only UPLOAD traffic is counted.
Code: Select all
0 chain=prerouting src-address-list=twi dst-address-list=!twi action=mark-connection new-connection-mark=UPLOAD passthrough=yes 1 chain=prerouting connection-mark=UPLOAD src-address-list=twi dst-address-list=!twi action=mark-packet new-packet-mark=UPLOAD_P passthrough=yes 2 chain=prerouting src-address-list=!twi dst-address-list=twi action=mark-connection new-connection-mark=DOWNLOAD passthrough=yes 3 chain=prerouting connection-mark=DOWNLOAD src-address-list=!twi dst-address-list=twi action=mark-packet new-packet-mark=DOWNLOAD_P passthrough=yes
What am I doing wrong?