I have 5.7 installed.
I have a mangle rules to mangle a given domain to mark the packet destined to test.com with the packet-mark=proxy
0 chain=forward action=mark-packet new-packet-mark=proxy passthrough=yes content=test.com
this is working fine counters are incrementing.
Now I have a rule to redirect traffic marked with packet-mark=proxy to the local proxy server but its not working:
0 chain=dstnat action=redirect to-ports=8080 protocol=tcp src-address=10.3.1.18 packet-mark=proxy
The mangle rules marking packets but the nat is not redirecting? I also tried connection-mark same results mangle works but redirect rule doesnt.
Any ideas?