Hi,
I would like to redirect all p2p traffic to another IP.
I marked it in mangle with the following:
0 chain=prerouting p2p=all-p2p action=mark-connection new-connection-mark=p2p_conn passthrough=yes
1 chain=prerouting connection-mark=p2p_conn action=mark-packet new-packet-mark=p2p passthrough=yes
This marking is OK, and there is traffic shown OK on it.
After that, I created a rule as follows:
0 chain=srcnat packet-mark=p2p connection-mark=p2p_conn action=src-nat to-addresses=x.x.x.x to-ports=0-65535
But, unfortunately, this is not working. No traffic is being redirected. Can anybody help me, what am I doing wrong??
Thank you in advance for help