Invalid arguement - iptables 1.2.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi folks,
	
	I am running Red Hat linux 9 with kernel 2.4.20-30 and iptables
1.2.9.  I recently upgraded my kernel and iptables package. 

Now the NAT commands started giving me an error "invalid argument" whereas
the same commands were working fine with iptables 1.2.7


	[root@jgreen root]# iptables -t nat -A OUTPUT -d 10.35.45.20  -j
DNAT --to-destination 10.35.45.204
iptables: Invalid argument

So I tried,

	[root@jgreen root]# iptables -t nat -A OUTPUT -d 10.35.45.20  -j
DNAT
iptables v1.2.9: You must specify --to-destination
Try `iptables -h' or 'iptables --help' for more information.

Then I tried,

	
[root@jgreen root]# iptables -t nat -A OUTPUT -d 10.35.45.20  -j DNAT -to
10.35.45.204
iptables: Invalid argument

I also get the following error when I run my firewall script

iptables: Chain is not empty
SIOCADDRT: File exists
SIOCADDRT: File exists

Please help me.

Regards,
Manikandan

<<attachment: winmail.dat>>


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux