From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Cambiar Encabezado de IP (Ayuda urgente x favor)
Date: Thu, 02 Jun 2005 21:00:49 -0500 [thread overview]
Message-ID: <429FB9D1.1030008@gmx.co.uk> (raw)
In-Reply-To: <BAY0-SMTP020332F220A20E747F8276BC070@phx.gbl>
Yo no hablo espanol ... can't even type the n~ ... but I see errors here:
CompuGenic wrote:
> iptables -t nat -I PREROUTING -i eth0 -p tcp -m multiport --dport
> 7777,2106 -j DNAT --to 192.168.1.2
It's "--dports" not "--dport".
> iptables -I INPUT -i eth0 -p tcp -m multiport 7777,2106 -j ACCEPT
Again, --dports is missing.
If it's the same packets you're wanting to accept, you're in the wrong
chain. INPUT won't see these; the DNAT changes the destination to
192.168.1.2. This rule needs to be in FORWARD, not INPUT.
iptables -I FORWARD -i eth0 -d 192.168.1.2 -p tcp -m multiport \
--dports 7777,2106 -j ACCEPT
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
next prev parent reply other threads:[~2005-06-03 2:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 23:51 Cambiar Encabezado de IP (Ayuda urgente x favor) Guillermo Javier Nardoni
[not found] ` <429FAA9A.6090302@compugenic.com>
2005-06-03 0:55 ` CompuGenic
2005-06-03 2:00 ` /dev/rob0 [this message]
2005-06-04 13:32 ` Georgi Alexandrov
-- strict thread matches above, loose matches on Subject: below --
2005-06-03 3:02 Guillermo Javier Nardoni
2005-06-03 12:29 ` Eduardo Spremolla
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=429FB9D1.1030008@gmx.co.uk \
--to=rob0@gmx.co.uk \
--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