Service/port based routing

Service/port based routing

shimi linux-il at shimi.net
Sun Jun 28 13:10:53 IDT 2009


On Sun, Jun 28, 2009 at 12:02 PM, geoffrey mendelson <
geoffreymendelson at gmail.com> wrote:

>
> I have two routers on my network. let's say 192.168.1.1 and 192.168.1.2.
> One connects to Netvision the other to 012. Now host based routing is
> simple, e.g. I can say route all packets to host 1.2.3.4 via gateway
> 192.168.1.1 and using a default route, everything else via 192.168.1.2.
>
> What I want to do is become more granular. I want to be able to route all
> packets to/from a specific port via one router, and everything else to use
> the
> default route.
>
> These are all connections to/from this particular system, I don't need to
> do it for everything on my network, or I can do it indiviudally. Currently
> the systems are running Ubuntu 9.04 with the latest kernel, but if I need to
> I can change them.
>
>
> Thanks, Geoff.
>


Packet marking & additional routing table. Quick "HOWTO" here:
http://archive.cert.uni-stuttgart.de/suse-security/2005/01/msg00008.html

HTH,

-- Shimi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090628/67614fbe/attachment-0001.html>


More information about the Linux-il mailing list