Outgoing network connections for some users should have their own IP.<br />
<br />
We want to achieve this per netfilter's owner module, setting a mark on the<br />
packet and then deciding by means of this mark via "ip rules" how to route it.<br />
In the corresponding routing table the "src" attribute is used to set the<br />
outgoing IP. The last step isn't working here.<br />
<br />
If I don't check for the mark from netfilter the "ip rules" part works fine -<br />
but obviously setting the outgoing IP for all packets from that host.
↧