All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Daniel Scott <djscott@MIT.EDU>
Cc: netfilter@vger.kernel.org
Subject: Re: iptables forwarding packets on the same interface
Date: Thu, 18 Nov 2010 21:56:23 +0100	[thread overview]
Message-ID: <20101118215623.6cd0bf50@catus> (raw)
In-Reply-To: <AANLkTimDgcNAfVZa6tUpQZFMb-jRXbzsiaDSnCZmqTTe@mail.gmail.com>

>Hi,

Hi,

>Am I doing this correctly? Can I 'route' packets back on to the same
>interface, out via a different gateway.

You should be able to do that. You are probably filtering some of the
traffic.

> If so, can anyone tell me
>which iptables/routing rule(s) I need to add to forward between
>different network IPs on the same physical interface.

Please send output of iptables-save and ip ro sh from both routers.

Best regards,
Marek

  reply	other threads:[~2010-11-18 20:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 20:26 iptables forwarding packets on the same interface Daniel Scott
2010-11-18 20:56 ` Marek Kierdelewicz [this message]
2010-11-18 21:37   ` Daniel Scott
2010-11-18 23:24     ` Marek Kierdelewicz
2010-11-18 23:39       ` Daniel Scott

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=20101118215623.6cd0bf50@catus \
    --to=marek@piasta.pl \
    --cc=djscott@MIT.EDU \
    --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 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.