Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Matthew Hellman" <mhellman@raccoon.com>
To: "Kevin L. Collins" <kcollins@qx.net>, netfilter@lists.samba.org
Subject: Re: Trying to get a Subnet NATted
Date: Sun, 8 Dec 2002 21:03:40 -0600	[thread overview]
Message-ID: <000f01c29f2f$9390b9d0$020aa8c0@winxp> (raw)
In-Reply-To: 000401c29f26$50e6ecc0$6401a8c0@athlon

Kevin,
I'm not exactly sure I understand your network setup, but in a more typical
setup one normally SNAT's all connections going out the external interface
(because everything behind the firewall is "private").

You seem to be saying that you are receiving packets with private source
addresses on the "external" interface of your linux box and that these
packets are destined for the Internet?  Why would you Linux box be receiving
these packets for routing?  It doesn't seeem like it should be in the
routing path.

----- Original Message -----
From: "Kevin L. Collins" <kcollins@qx.net>
To: <netfilter@lists.samba.org>
Sent: Sunday, December 08, 2002 7:57 PM
Subject: FW: Trying to get a Subnet NATted


> First I want to appologize if this makes it to the list more than once,
> I've been having trouble joinging the list.
>
> I've got a strange situation where I receive data from my WAN links
> across the same Interface as my External Interface.
>
> Let me try to explain it with ACSII art....
> +--------------+
> |     WAN      |
> |10.200.9.x/24 |
> |10.200.10.x/24|
> +------+-------+
>        |
>       aDSL
>        |
> +------+------+
> |Real Internet|
> |   Subnet    |
> |   eth0 of   |
> |  Linux Box  |
> +-------------+
>
> I need to be able to bring the packets from the WAN subnet and then
> "SNAT" them to allow them to go back out on to their final Internet
> Destination.  As it stands right now, the Linux machine is simply
> routing them through to the Default Gateway and my ISP's router is
> killing the packets because they are "improper" as they have a
> destination address in the Private LAN subnets.
>
> What I would to do is have IPTABLES apply the SNAT arrangement that I
> have configured for my Internal LAN.  Is this even possible?  And if so,
> how would I go about doing it?  I've tried several things over the past
> week tro make it happen, but nothing is working.  I think I have to do
> something BEFORE the routing takes place, but I'm not sure what.  ANY
> help would be GREATLY appreciated.
>
> Kevin L. Collins, MCSE
> Systems Manager
> Nesbitt Engineering, Inc.
>
>
>




  reply	other threads:[~2002-12-09  3:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-09  1:57 FW: Trying to get a Subnet NATted Kevin L. Collins
2002-12-09  3:03 ` Matthew Hellman [this message]
2002-12-09  3:52   ` Kevin L. Collins
2002-12-10  3:45     ` Matthew Hellman
  -- strict thread matches above, loose matches on Subject: below --
2002-12-10  7:52 Rob Sterenborg
2002-12-08 18:06 Kevin L. Collins

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='000f01c29f2f$9390b9d0$020aa8c0@winxp' \
    --to=mhellman@raccoon.com \
    --cc=kcollins@qx.net \
    --cc=netfilter@lists.samba.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