¡Hola!

> 1. Our firewall/router (is a linux) have to masquerade the local IP numbers.
> 2. Our firewall/router have to decide which packet can go on the fast and 
>    which is on the slow connection (do the masquerade in this way).
>    I would like to route IP packages in two different manner.
>    - some special machine (source IP numbers) always have to out on
>      the fast connection.
ip ru add from <special.machine.IP> table 1
ip ro add 0/0 via <fast.connection.router> table 1

>    - some port (like telnet, I hate to wait for echo) from any host always 
>      have to go out on the fast connection.
Oops, i believe that's hard. I'm searching for the same thing and i couldn't
get any info on how doing it. If you get help with that please tell me.

> I use ipchains. I can setup to masquerade but in ipchain rules I can 
> select both source IP number and port, but I just set DENY, ACCEPT, MASQ 
> but _not_ MASQ to which device.

> With route I just set source (and dest) IP number to choose device, bit _not_
> port.
 
> So what is the solution ???
I believe that maybe the ipchains rewriting stuff could give us some help.
I'll probably be trying it next week, so if i get something done, i'll tell
you. (and if you get some info, please notice me)

> Thank you for your help in advance.

>  -- Levente
>  ------------------------------------------------------------------
>  E-Mail:   Levente Farkas <[EMAIL PROTECTED]>
>  Homepage: http://www.inf.u-szeged.hu/~lfarkas/
>  ------------------------------------------------------------------

                                        HoraPe
---
Horacio J. Peña
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to