From: "Hlynur Thor Olason" <thorolason@web.de>
To: netfilter@lists.netfilter.org
Subject: forwarding local traffic
Date: Thu, 11 Dec 2003 11:52:16 +0100 [thread overview]
Message-ID: <003101c3bfd4$d80cdf00$b84526c0@thor> (raw)
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
I have 2 Ethernet cards in a 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
[-- Attachment #2: Type: text/html, Size: 3166 bytes --]
reply other threads:[~2003-12-11 10:52 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='003101c3bfd4$d80cdf00$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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox