Ben Scott wrote:
  Now, for the sake of knowledge, let us say that a piece of needed
software didn't have an option to bind to a specific interface.  Would
it be possible to control the outgoing route/interface anyway, by
using iptables or some other mechanism external to the software?  For
example, what if Sendmail didn't have a ClientPortOptions directive
(heh, I know, use Postfix, but work with me here)?


Unfortunately not easy without doing local NAT (from the local interface to another local interface). The problem lies in how the kernel sends packets without a specified source. I wrote an explanation some time ago: http://mailman.ds9a.nl/pipermail/lartc/2007q2/020941.html
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to