I want to mark my users traffic by IP address.
my situation is: I have one interface with public IP, I have another interface with internal IP addresses. Between them there's a Mikrotik with NATting enabled.
When I set up 2 mangles:
source addr: user IP
dest addr: "net "
and
source addr: "net"
dest addt: user IP
only the first one showed any traffic. But there was traffic with torch in both direction. This is quite logical if the packet has to appear as an incoming package at one of the interfaces to be able to mark in the mangles - in this case it does not appear because of the NAT. (well, it appears but _before_ the NATting so the packet has different dest IP addr - the public IP address)
Is this any workaround to resolve this problem? (a simpler solution than setting up another server just to do the NAT)