All of lore.kernel.org
 help / color / mirror / Atom feed
* Unmatchable packet?
@ 2005-11-22 20:58 Jesse Gordon
  2005-11-22 21:28 ` Jesse Gordon
  0 siblings, 1 reply; 11+ messages in thread
From: Jesse Gordon @ 2005-11-22 20:58 UTC (permalink / raw)
  To: netfilter

My box is running a TCP service. When another box tries to my box, my box 
responds with a reply packet.(Just like it should.)
 How do I match that (and all subsequent) reply packets so I can SNAT on 
them?

I even tried:

iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 222.222.222.222

and sure enough, everything going out eth1 was 'from' 222.222.222.222 except 
the reply packets to incoming connections.

Also tried -t nat OUTPUT, -t mangle OUTPUT, etc.. Nothing seemed to work.

Should I expect such a feat to be possible?

Thanks!

-Jesse 




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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 20:58 Unmatchable packet? Jesse Gordon
2005-11-22 21:28 ` Jesse Gordon
2005-11-23  0:46   ` Nikolai Georgiev
2005-11-23  1:46     ` Jesse Gordon
2005-11-23  6:05       ` Philip Craig
2005-11-23  7:03         ` Jesse Gordon
2005-11-23  7:19           ` Philip Craig
2005-11-24 11:48             ` Jesse Gordon
2005-11-24 14:29               ` Robert Nichols
2005-11-25  1:11               ` Philip Craig
2005-11-28 19:11                 ` Jesse Gordon

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.