All of lore.kernel.org
 help / color / mirror / Atom feed
* forcing outgoing traffic thought eth3
@ 2005-05-04 17:50 Benjamin Jeeves
  2005-05-04 18:15 ` Taylor, Grant
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Jeeves @ 2005-05-04 17:50 UTC (permalink / raw)
  To: netfilter

Hi all

I would like to use iptables for do something like this.

when a request is made from my client computer say 192.168.1.14 to my NFS 
server which runs on say 192.168.1.7 I want to be able to force all the 
outgoing traffic thought 192.168.1.6 would this be possable in iptables. If 
so can you point down the right road please.

Thank you

Benjamin Jeeves


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

* Re: forcing outgoing traffic thought eth3
  2005-05-04 17:50 forcing outgoing traffic thought eth3 Benjamin Jeeves
@ 2005-05-04 18:15 ` Taylor, Grant
  0 siblings, 0 replies; 2+ messages in thread
From: Taylor, Grant @ 2005-05-04 18:15 UTC (permalink / raw)
  To: netfilter

> when a request is made from my client computer say 192.168.1.14 to my NFS 
> server which runs on say 192.168.1.7 I want to be able to force all the 
> outgoing traffic thought 192.168.1.6 would this be possable in iptables. If 
> so can you point down the right road please.

I think you will be looking at the ROUTE target (not sure where this is, hopefully someone else on the list can pick up here for me) to define where the traffic goes out of the system.

If you don't want to mess with the ROUTE target you could probably MARK the traffic and then match it with an "ip rule ... fwmark" and have a specific route back to the network via a different routing table.



Grant. . . .


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

end of thread, other threads:[~2005-05-04 18:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-04 17:50 forcing outgoing traffic thought eth3 Benjamin Jeeves
2005-05-04 18:15 ` Taylor, Grant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.