From: "Alexandre Carlos" <alexandre@redes.unb.br>
To: <netfilter-devel@lists.netfilter.org>
Subject: IPtables
Date: Thu, 17 Oct 2002 20:25:30 -0300 [thread overview]
Message-ID: <053201c27634$7de19d30$1543a8c0@sanches> (raw)
I have the following network
B
/ | \
A1--A | C--C1
\ | /
D
I wanto A1 to ping C1 through the following path a-b-c,
so i created the following rule in the nat table of iptable
iptable -t nat -A PREROUTING -s 10.1.1.0/24 -d 192.168.67.0/24 -p icmp -j
DNAT --to-destination 192.168.3.1
The network 10.1.1.0 representes A1, the network 192.168.67.0 C1 and the
address 192.168.3.1 is the interface that the packet shoulkd reach B.
But when i start the ping i can´t capture the packet using the sniffer and
when a turn down all the interfaces of B and D the ping don´t stop.
Can anyone help me please.
Regards,
Alex
next reply other threads:[~2002-10-17 23:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-17 23:25 Alexandre Carlos [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-11-18 22:30 iptables Alexandre Carlos
2004-01-16 22:36 iptables Wilmar jose wagner
2004-01-22 22:33 ` iptables Pablo Neira
[not found] <20040205052840.10884.25667.Mailman@netfilter-sponsored-by.noris.net>
2004-02-09 4:48 ` iptables VeNoMouS
2004-02-14 20:17 ` iptables Harald Welte
2009-04-27 8:05 iptables Manu
2009-04-29 20:32 ` iptables Jan Engelhardt
2009-05-05 13:38 ` iptables Patrick McHardy
2009-05-05 19:26 ` iptables Jan Engelhardt
2009-05-06 7:53 ` iptables Manu
[not found] <BANLkTi=G1ecs9wx+QgAcUphK2-jg60nbAw@mail.gmail.com>
2011-06-02 11:47 ` Iptables Pablo Neira Ayuso
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='053201c27634$7de19d30$1543a8c0@sanches' \
--to=alexandre@redes.unb.br \
--cc=netfilter-devel@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;
as well as URLs for NNTP newsgroup(s).