Linux Netfilter discussions
 help / color / mirror / Atom feed
* Forwarding packets on same interface (echoing)
@ 2005-08-12 11:05 Martin van den Berg
  2005-08-12 16:40 ` J.T. Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Martin van den Berg @ 2005-08-12 11:05 UTC (permalink / raw)
  To: netfilter

G'day,

I have this NAT/firewall box (debian) configured with iptables. Port
forwarding etc works fine for one exception: A need a rule that
'echoes' back udp packets if they meet the following criteria:
+ in-interface=eth1 (that's the 'private' interface)
+ destination IP is public ip-address (e.g. 1.2.3.4) (that's eth0)
+ Port range is e.g. 30000-32000
+ The packets need to be forwarded via eth0 (thus echoed) to e.g.
10.10.1.2, same port.

Hope you can help me and thanks in advance!

Martin.


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

end of thread, other threads:[~2005-08-12 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12 11:05 Forwarding packets on same interface (echoing) Martin van den Berg
2005-08-12 16:40 ` J.T. Moore

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