All of lore.kernel.org
 help / color / mirror / Atom feed
* "iptables: Invalid argument" with kernel 2.4.20
@ 2002-12-16 16:25 cees-bart
  2002-12-16 17:42 ` Rob Sterenborg
  2002-12-16 19:35 ` Joel Newkirk
  0 siblings, 2 replies; 5+ messages in thread
From: cees-bart @ 2002-12-16 16:25 UTC (permalink / raw)
  To: netfilter

hi all,

by reading the iptables tutorial (version 1.1.11) i've constructed
a configuration that forwards a port on MYMACHINE to OTHERMACHINE:

# Generated by iptables-save v1.2.6a on Tue Nov 12 17:41:18 2002
*nat
:PREROUTING ACCEPT [221:38784]
:POSTROUTING ACCEPT [78:7025]
:OUTPUT ACCEPT [72:6769]

-A PREROUTING -d MYMACHINE -p udp -m udp --dport 27960 -j DNAT \ 
                           --to-destination OTHERMACHINE:30000 

-A POSTROUTING -d OTHERMACHINE -p udp -m udp --dport 30000 -j SNAT \ 
                           --to-source MYMACHINE 

-A OUTPUT -d MYMACHINE -p udp -m udp --dport 27960 -j DNAT \
                           --to-destination OTHERMACHINE:30000 

COMMIT
# Completed on Tue Nov 12 17:41:18 2002

this setup works fine on kernel 2.4.19 with iptables 1.2.6a.

BUT, the last rule (OUTPUT) fails with message "iptables: Invalid 
argument" when running under 2.4.20.

i tried iptables 1.2.7a as well, but the result is the same.

am i doing something wrong?

thnx,
cees-bart.





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

end of thread, other threads:[~2002-12-17  9:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-16 16:25 "iptables: Invalid argument" with kernel 2.4.20 cees-bart
2002-12-16 17:42 ` Rob Sterenborg
2002-12-17  2:19   ` Anders Fugmann
2002-12-16 19:35 ` Joel Newkirk
2002-12-17  9:55   ` cees-bart

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.