Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables REDIRECT with patch-o-matic
@ 2002-09-13 10:46 Rohan Almeida
  2002-09-13 14:27 ` Zoilo
  0 siblings, 1 reply; 2+ messages in thread
From: Rohan Almeida @ 2002-09-13 10:46 UTC (permalink / raw)
  To: netfilter


Hi List,

Take the following command:
[rohan@sanitarium rohan]$ iptables -t nat -i eth0 -A PREROUTING \
			--protocol tcp -s 10.0.0.0/255.255.255.0 \
			-d 10.0.0.1/32 --dport www -j REDIRECT \
			--to-port 800

With redhat rpms, kernel-2.4.18-5, iptables-1.2.5-3
the above command works fine.

Now, i downloaded iptables-1.2.7a, patch-o-matic-20020825
and using kernel source tree of 2.4.18
I applied the following patches of patch-o-matic:
	base AND extra

Then i compiled the kernel.
Now with this patched kernel and iptables-1.2.5-3 rpm,
I am getting the following error when running the above command:
"iptables: Invalid argument"

What am i doing wrong?

If i just have to upgrade my iptables to 1.2.7a, then
i'm sorry for posting this :-)

Thanx

--
arc_of_descent



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

end of thread, other threads:[~2002-09-13 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-13 10:46 iptables REDIRECT with patch-o-matic Rohan Almeida
2002-09-13 14:27 ` Zoilo

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