All of lore.kernel.org
 help / color / mirror / Atom feed
* argument error while natting?
@ 2003-02-26  5:13 Esteban
  0 siblings, 0 replies; only message in thread
From: Esteban @ 2003-02-26  5:13 UTC (permalink / raw)
  To: netfilter

always i try to use the nat issues i get "Invalid argument" ..
why could it be?

root@debian:~# iptables -t nat -A PREROUTING -i eth2 -p tcp --dport 80
-j DNAT --to 127.0.0.1:3128
iptables: Invalid argument
root@debian:~# 
root@debian:~# iptables -t nat -A PREROUTING  -p tcp --dport 80 -j DNAT
--to 127.0.0.1:3128
iptables: Invalid argument
root@debian:~# 
root@debian:~# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables: Invalid argument

root@debian:~# 
root@debian:~# iptables  --version
iptables v1.2.7a
root@debian:~# lsmod 
Module                  Size  Used by    Not tainted
ipt_MASQUERADE          1912   0  (autoclean)
iptable_nat            23064   0  (autoclean) [ipt_MASQUERADE]
ip_conntrack           28832   1  (autoclean) [ipt_MASQUERADE
iptable_nat]
iptable_filter          1672   1  (autoclean)
ip_tables              14360   5  [ipt_MASQUERADE iptable_nat
iptable_filter]
root@debian:~# 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-26  5:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26  5:13 argument error while natting? Esteban

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.