* OUTPUT chain in nat table.
@ 2004-04-27 12:07 Manikandan
2004-04-27 12:15 ` David Cannings
0 siblings, 1 reply; 2+ messages in thread
From: Manikandan @ 2004-04-27 12:07 UTC (permalink / raw)
To: Netfilter
[-- Attachment #1: Type: text/plain, Size: 769 bytes --]
Hi all,
I recently upgraded my kernel to 2.4.26 and iptables to 1.2.9. After
this upgrade, my firewall script started throwing errors. I am using SNAT in
PREROUTING chain, DNAT in POSTROUTING chain and DNAT in OUTPUT chain of nat
table.
There is no issue with PREROUTING and POSTROUTING chains in nat
table now. But my OUTPUT DNAT is not working and it keeps giving me an error
" Invalid argument ".
iptables -t nat -A OUTPUT -d 10.35.47.120 -j DNAT -to 10.35.47.3
Is this command a valid one or not?. The same command was working fine with
my old kernel 2.4.20 and iptables 1.2.7.
Could someone please help me. I tried googling a lot, but there is not
enough information to continue troubleshooting.
Any hint will be of great help.
Regards,
Manikandan.
[-- Attachment #2: winmail.dat --]
[-- Type: application/ms-tnef, Size: 3432 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OUTPUT chain in nat table.
2004-04-27 12:07 OUTPUT chain in nat table Manikandan
@ 2004-04-27 12:15 ` David Cannings
0 siblings, 0 replies; 2+ messages in thread
From: David Cannings @ 2004-04-27 12:15 UTC (permalink / raw)
To: netfilter
On Tuesday 27 April 2004 13:07, Manikandan wrote:
> There is no issue with PREROUTING and POSTROUTING chains in nat
> table now. But my OUTPUT DNAT is not working and it keeps giving me an
> error " Invalid argument ".
> iptables -t nat -A OUTPUT -d 10.35.47.120 -j DNAT -to 10.35.47.3
According to the manual page "--to-destination" is what you require
instead of "-to".
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-27 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27 12:07 OUTPUT chain in nat table Manikandan
2004-04-27 12:15 ` David Cannings
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.