iptables: "target problem" or "invalid argume
Posted: Mon Aug 02, 2004 12:37 am
[PROBLEM]
executing some command like this (which should work according to man-pages) gives the error "target problem":
iptables -t nat -I OUTPUT 2 -p tcp --sport 1234 -j DNAT --to 127.0.0.1
or "invalid argument" when using "iptables -t nat -A OUTPUT...".
[SOLUTION]
check if you have activated "CONFIG_IP_NF_NAT_LOCAL" in your kernel settings.
executing some command like this (which should work according to man-pages) gives the error "target problem":
iptables -t nat -I OUTPUT 2 -p tcp --sport 1234 -j DNAT --to 127.0.0.1
or "invalid argument" when using "iptables -t nat -A OUTPUT...".
[SOLUTION]
check if you have activated "CONFIG_IP_NF_NAT_LOCAL" in your kernel settings.