Paulo Andre wrote:
Martijn Lievaart wrote:Use CONNMARK to remember which connection came from which gateway, use theROUTE target to correctly route the replies. HTH, M4Hi Martjin, do you have an example on how to do this?
Scratch the route target. Use iproute2. In prerouting mark the packet according to the interface it came in on. On the retrun traffic restore the mark. Create routing rules on the fwmark. Google on "connmark route" gives lots of info.
HTH, M4