Linux Netfilter discussions
 help / color / mirror / Atom feed
* ROUTE target
@ 2004-03-15 11:32 Richard Bellamy
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Bellamy @ 2004-03-15 11:32 UTC (permalink / raw)
  To: netfilter

Hi

Does anyone know if the ROUTE target works under 2.6?

Thanks

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* ROUTE target
@ 2008-02-08  0:18 Timur Alperovich
  2008-02-08  7:01 ` Rob Sterenborg
  0 siblings, 1 reply; 4+ messages in thread
From: Timur Alperovich @ 2008-02-08  0:18 UTC (permalink / raw)
  To: netfilter

Hi,

I noticed there was a patch to add the ROUTE target and mangle the
interface used by the packets. I was looking through patch-o-matic-ng
and couldn't find it. I presume because it's not supported anymore.
What is a way to accomplish similar results with netfilter? For
instance, if someone could give me an example of how to force all ICMP
packets through eth0, that would be great.

Thank you,
Timur

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: ROUTE target
  2008-02-08  0:18 Timur Alperovich
@ 2008-02-08  7:01 ` Rob Sterenborg
  2008-02-08 21:32   ` Timur Alperovich
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Sterenborg @ 2008-02-08  7:01 UTC (permalink / raw)
  To: netfilter

> Hi,
> 
> I noticed there was a patch to add the ROUTE target and mangle the
> interface used by the packets. I was looking through patch-o-matic-
> ng and couldn't find it. I presume because it's not supported
> anymore.
> What is a way to accomplish similar results with netfilter? For
> instance, if someone could give me an example of how to force all
> ICMP packets through eth0, that would be great.

http://marc.info/?t=120048157400002&r=1&w=2


Grts,
Rob



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ROUTE target
  2008-02-08  7:01 ` Rob Sterenborg
@ 2008-02-08 21:32   ` Timur Alperovich
  0 siblings, 0 replies; 4+ messages in thread
From: Timur Alperovich @ 2008-02-08 21:32 UTC (permalink / raw)
  To: netfilter

Thanks for the link! I got the ROUTE target working, but now I'm a bit
confused. I have 3 connections on a router. 2 to the ISP, ISP1 & ISP2,
and one for the LAN. I'd like all the LAN traffic bound for the
internet to be routed to ISP1 and all the traffic the router generates
locally to go through ISP2. I tried adding something like iptables -A
OUTPUT -j ROUTE --oif ISP2, which broke the LAN setup, as that traffic
was then forwarded through ISP2 too. I'm not sure why that happened.
The entry in the nat table for Masquerading is -t nat -o ISP1 -s
172.27.169.0/24 -j MASQUERADE. Anyone setup something similar?

Thank you,
Timur

>
> > Hi,
> >
> > I noticed there was a patch to add the ROUTE target and mangle the
> > interface used by the packets. I was looking through patch-o-matic-
> > ng and couldn't find it. I presume because it's not supported
> > anymore.
> > What is a way to accomplish similar results with netfilter? For
> > instance, if someone could give me an example of how to force all
> > ICMP packets through eth0, that would be great.
>
> http://marc.info/?t=120048157400002&r=1&w=2
>
>
> Grts,
> Rob
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-08 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-15 11:32 ROUTE target Richard Bellamy
  -- strict thread matches above, loose matches on Subject: below --
2008-02-08  0:18 Timur Alperovich
2008-02-08  7:01 ` Rob Sterenborg
2008-02-08 21:32   ` Timur Alperovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox