From: Esteban <eribicic@sinectis.com>
To: netfilter@lists.netfilter.org
Subject: argument error while natting?
Date: 26 Feb 2003 02:13:59 -0300 [thread overview]
Message-ID: <1046236439.12245.8.camel@debian> (raw)
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:~#
reply other threads:[~2003-02-26 5:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1046236439.12245.8.camel@debian \
--to=eribicic@sinectis.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox