Linux Netfilter discussions
 help / color / mirror / Atom feed
* Nat on OutPut chain ?
@ 2005-10-11  7:33 Armin ranjbar
  2005-10-11  8:08 ` Sorin Panca
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Armin ranjbar @ 2005-10-11  7:33 UTC (permalink / raw)
  To: netfilter

dear all , 

i'm confused a bit , is this possible to do NAT on OutPut chain ? i guess it is impossible , but take a look at this picture : 
http://iptables-tutorial.frozentux.net/images/tables_traverse.jpg


-- 
Q:	How many IBM CPU's does it take to do a logical right shift?
A:	33.  1 to hold the bits and 32 to push the register.


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

* Re: Nat on OutPut chain ?
  2005-10-11  7:33 Nat on OutPut chain ? Armin ranjbar
@ 2005-10-11  8:08 ` Sorin Panca
  2005-10-11 10:26 ` /dev/rob0
  2005-10-11 11:40 ` David Coulson
  2 siblings, 0 replies; 4+ messages in thread
From: Sorin Panca @ 2005-10-11  8:08 UTC (permalink / raw)
  To: netfilter



Armin ranjbar wrote:
> dear all , 
> 
> i'm confused a bit , is this possible to do NAT on OutPut chain ? i guess it is impossible , but take a look at this picture : 
> http://iptables-tutorial.frozentux.net/images/tables_traverse.jpg
> 
> 
take a look at this, too:
http://l7-filter.sourceforge.net/PacketFlow.png
www.imagestream.com/~josh/PacketFlow.gif


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

* Re: Nat on OutPut chain ?
  2005-10-11  7:33 Nat on OutPut chain ? Armin ranjbar
  2005-10-11  8:08 ` Sorin Panca
@ 2005-10-11 10:26 ` /dev/rob0
  2005-10-11 11:40 ` David Coulson
  2 siblings, 0 replies; 4+ messages in thread
From: /dev/rob0 @ 2005-10-11 10:26 UTC (permalink / raw)
  To: netfilter

On Wednesday 2005-October-12 02:34, Armin ranjbar is going to write:
> i'm confused a bit , is this possible to do NAT on OutPut chain ?

Please give some detail as to what it is you are trying to do. I am 
thinking perhaps "ip route ... ... src ip.add.re.ss" might do what you 
need.

(And, do check the time on your system clock!)
-- 
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header


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

* Re: Nat on OutPut chain ?
  2005-10-11  7:33 Nat on OutPut chain ? Armin ranjbar
  2005-10-11  8:08 ` Sorin Panca
  2005-10-11 10:26 ` /dev/rob0
@ 2005-10-11 11:40 ` David Coulson
  2 siblings, 0 replies; 4+ messages in thread
From: David Coulson @ 2005-10-11 11:40 UTC (permalink / raw)
  To: Armin ranjbar; +Cc: netfilter



Armin ranjbar wrote:
> i'm confused a bit , is this possible to do NAT on OutPut chain ?

Yes, you can do DNAT on OUTPUT in the nat table.

David

-- 
David J. Coulson
email: david@davidcoulson.net
web: http://www.davidcoulson.net/
phone: (216) 920-3100 / (216) 258-4942


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

end of thread, other threads:[~2005-10-11 11:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11  7:33 Nat on OutPut chain ? Armin ranjbar
2005-10-11  8:08 ` Sorin Panca
2005-10-11 10:26 ` /dev/rob0
2005-10-11 11:40 ` David Coulson

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