Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Italo Valcy <italo@dcc.ufba.br>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: netfilter@vger.kernel.org
Subject: Re: How to use DNAT
Date: Thu, 17 Feb 2011 16:17:46 -0300	[thread overview]
Message-ID: <4D5D745A.1030405@dcc.ufba.br> (raw)
In-Reply-To: <alpine.LNX.2.01.1102172000340.30243@obet.zrqbmnf.qr>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jan,

Em 17-02-2011 16:03, Jan Engelhardt escreveu:

> eth0:0 is not an interface. That is ifconfig misleading you. Avoid this 
> old and unmaintained tool.

Thank you so much for your quickly reply and tip. I change the
configuration according to your tip and I use "ip addr add" to add a
secondary ip address (the target IP for DNAT), but unfortunately that
does not help: the packets are still going to INPUT chain, even with the
DNAT rule changing the DESTINATION of the packet.


Kind Regards, Italo.


- -- 
Saudações,

Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1ddFoACgkQfidLqjN6RNGBWgCfbva8mT/PyPkmzGg+OM1+lOad
UKkAniJ5wzWi2vq9qPsJAKuwpAStiTZx
=knvD
-----END PGP SIGNATURE-----

  reply	other threads:[~2011-02-17 19:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 18:47 How to use DNAT Italo Valcy
2011-02-17 19:03 ` Jan Engelhardt
2011-02-17 19:17   ` Italo Valcy [this message]
2011-02-17 20:05 ` Pascal Hambourg
2011-02-17 21:30   ` Italo Valcy
     [not found] <184364666.3998.1297982398411.JavaMail.root@tahiti.vyatta.com>
2011-02-17 22:57 ` Steven Kath
2011-02-17 23:41   ` Pascal Hambourg
2011-02-18 12:50     ` Italo Valcy
2011-02-19  2:55       ` Atle Solbakken
2011-02-19  5:06         ` Pandu Poluan

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=4D5D745A.1030405@dcc.ufba.br \
    --to=italo@dcc.ufba.br \
    --cc=jengelh@medozas.de \
    --cc=netfilter@vger.kernel.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