All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hlynur Thor Olason" <thorolason@web.de>
To: netfilter@lists.netfilter.org
Subject: is it possible with iptables
Date: Mon, 15 Dec 2003 07:14:13 +0100	[thread overview]
Message-ID: <001f01c3c2d2$a9c72ff0$b84526c0@thor> (raw)

Im trying to get local traffic from a linux box destined for the same box
routed through a test network.



further explanation:



I have 2 Ethernet cards in the linux box.


Call them eth0 with IP address 192.168.0.1    and

eth1 with IP = 192.168..0.2



eth1= 192.168.0.2 is connected to another computer a gateway which has the
IP address 192.168.0.3. This computer is then connected to an external
network which is again connected to eth0=192.168.0.1 in the first box.



Now the problem is I want to get locally generated packages in the box
destined for 192.168.0.2 (eth1 in the box) to leave the box and be routed
trough the network to the box again.



I have been trying to use iptables but not found a solution.



Any suggestion would be welcome?  / Thor



             reply	other threads:[~2003-12-15  6:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-15  6:14 Hlynur Thor Olason [this message]
2003-12-15  7:45 ` is it possible with iptables Cedric Blancher

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='001f01c3c2d2$a9c72ff0$b84526c0@thor' \
    --to=thorolason@web.de \
    --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 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.