looking at OpenSSH client's manpage - there's an option, such as -D, that enables one to use the SSHD in a form of a dynamic SOCKS proxy/port forwarder.
my question is as follows: is it somehow possible to manipulate/select the exact IP address that outgoing connections are going to be bound to, in either the SSHD config or by some params within the ssh client?
the actual problem that i am facing: the system has 2 IP addresses, A on eth0 and B on eth1. The sshd runs on B, but when i'm actually trying to tunnel some traffic in a way described above - all outgoing connections are bound to the socket on A. What i want to do is - be able to select by binding either on A or B. Is that possible (without exchanging places of eth0 and eth1)?