[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Policy Routing (was: Re: rsync, ssh, scp: How to send via eth1 or higher ?)



Hi, Hans.

On Jul 28 2006, Hans-J. Ullrich wrote:
> is there any way, to send files over a device greater than eth0 ?

You have already received some response on your question regarding the
"bind to an address".

I would like to point out another possibility: you may use policy
routing (if you have it enabled in your kernel) and, say, route all
traffic that is ssh to a given interface.

This is a really nice feature of the kernel and little known. For
manipulating the routes, you will need the package iproute.


Hope this helps, Rogério Brito.

-- 
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/



Reply to: