Dunnu if anyone can help, but do need some help with the IP ROUTE2 commands...

I have read every IPROUTE2 HOW-TO that i can find, and most/all of them claim
that u can create new rules base on SOURCE IP, PORT, PROTOCOL etc..

Now most of the examples that i saw were only base on the SOURCE IP Address or
Network, i'm interested in routing base on destination port, eg, a pc on my
network is sending info to the internet to HTTP port 80, i want to make a rule
base on with destination port it is, which interface should be used, below is
an example of what i found in the IP Commands HOW-TO

ip rule add from 192.203.80.0/24 table inr.ruhep prio 220


i assume if i want to add a rule for HTTP or so my command would be

ip rule add to ............ table HTTP

In the command how-to is just says that the ARGUMENTS after the "to" is PREFIX,
but i can't find no example of what i need to use for PORTS

should add ip rule add to PORT 80 table HTTP or so..

thnks in advance


-------------------------------------------------------------
Reginald R. Richardson
[EMAIL PROTECTED] on 12/28/2001



_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to