Re: [OT] Source Based Routing

2007-07-25 Thread Martin Marcher
hi, On 7/25/07, Erik Persson <[EMAIL PROTECTED]> wrote: I have not read all you have written, but will not: iptables -I PREROUTING -t nat -s 10.200.10.50 ! -d 192.0.2.8/29 -j SNAT --to-source 192.0.2.11 do the trick? i guess that's one of the reasons why I prefer debian-user over other lists

Re: [OT] Source Based Routing

2007-07-25 Thread Erik Persson
Martin Marcher wrote: Hello, Say I want 10.200.10.50 to look like it came from 192.0.2.11 how do I do that? I have not read all you have written, but will not: iptables -I PREROUTING -t nat -s 10.200.10.50 ! -d 192.0.2.8/29 -j SNAT --to-source 192.0.2.11 do the trick? By the way, if the

Re: [OT] Source Based Routing

2007-07-25 Thread Martin Marcher
Hi, On 7/25/07, Bob Proulx <[EMAIL PROTECTED]> wrote: Martin Marcher wrote: > i have a setup where i have a borderline box that has 5 public IP > Addresses (this is for the sake of example: 192.0.2.8/29), all is > NATed to 10.200.10.0/24. Now the IP the provider uses as gateway is > 192.0.2.9 wh

Re: [OT] Source Based Routing

2007-07-24 Thread Bob Proulx
Martin Marcher wrote: > i have a setup where i have a borderline box that has 5 public IP > Addresses (this is for the sake of example: 192.0.2.8/29), all is > NATed to 10.200.10.0/24. Now the IP the provider uses as gateway is > 192.0.2.9 which makes me have 192.0.2.10-14 as a usable range. Uhm..