All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Ruberg <bjorn@ruberg.no>
To: netfilter@lists.netfilter.org
Subject: RE: Ip Forwarding
Date: 23 Feb 2003 04:43:03 +0100	[thread overview]
Message-ID: <1045971783.7040.16.camel@mikke> (raw)
In-Reply-To: <000501c2da82$bc93ed50$0200a8c0@grandaddy>

On Sat, 2003-02-22 at 15:57, William Olbrys wrote:
> Was this too complicated? Heh that's why I wrote such a generic
> questions
> 
> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of William Olbrys
> Sent: Friday, February 21, 2003 7:48 PM
> To: netfilter@lists.netfilter.org
> Subject: RE: Ip Forwarding
> 
> Well I want to put a windows 2000 domain controller behind my
> iptables-enabled redhat 8 box. The domain controller had a static ip
> before it went behind the firewall and for Active Directory to work
> correctly it HAS to stay that way. I spent days and days trying
> otherwise but windows is far too stubborn. AD plus legacy support for
> WINS makes nat translation a living hell. So I simply set up all my
> rules as default accept and let it fly, hoping that the forwarding would
> take care of itself. Essentially it did! I could perform simple function
> like connecting to the internet but I couldn't do more important
> functions like cruise the windows network or have things join/leave/see
> the domain behind this iptables enabled box.  I thought it had something
> to do with routers not seeing the right ip address as it leaves the
> iptables box or the routers not being able to find its way back to this
> box behind the firewall.
> 
> It struck that while I wrote this complicated email I may have come up
> with a solution. Since the static IP of the win2k box is the same and
> only the gateway has changed, then the data it sends will be legitimate
> concerning it's IP address(not an internal IP). Could I create an alias
> at the outbound NIC level for the win2k's IP address and SNAT packets
> leaving the outbound NIC that originated from the win2k box?

Generic questions get generic answers, and that is not what you need.

Your questions are not complicated (and the email is definitely not),
just obscure.

To cut to the chase:

You do not say anything about what kind of network you use behind your
Linux firewall.

If we assume you use a private network (192.168.*.*, 172.16.*.*,
10.*.*.* or similar) of course nothing on the outside will be able to
connect to your Windows server - simply because they don't know they
need to connect to it through your Linux server. This is a routing
issue. A significant fact about NATed networks is that there are no way
anything on the outside will know that given resources are behind the
NATing firewall.

If you are still using an IP dedicated to your Windows server but on
another IP network, consider it pure luck that anything works at all.

If you want to get serious answers from this list, you need to distinct
between what matters (e.g. your IP network and your routing tables) and
what does not matter at all (e.g. how many days you tried beating sense
into Microsoft products). Provide a network diagram explaining your
configuration and any problems related to it. Trying to parse your
message, however, makes me think that you need to read up on IP routing
before you try anything more complicated.

And, by the way, please read the netfilter documentation. It's available
on http://www.netfilter.org/documentation/.

Bjørn



  reply	other threads:[~2003-02-23  3:43 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 23:46 Ip Forwarding William Olbrys
2003-02-22  0:28 ` Willi Dyck
2003-02-22  0:47   ` William Olbrys
2003-02-22 14:57     ` William Olbrys
2003-02-23  3:43       ` Bjorn Ruberg [this message]
2003-02-23 21:38         ` Willi Dyck
  -- strict thread matches above, loose matches on Subject: below --
2012-01-27  9:59 IP forwarding Prashant Batra (prbatra)
2005-10-21 21:22 IP Forwarding Jerry Alexander
2005-10-22 12:53 ` Henrik Nordstrom
2005-10-22 13:11 ` Aseem Rastogi
2005-08-04  1:37 IP forwarding Ricardo J. Méndez
2005-08-04  4:15 ` Gömöri Zoltán
2005-08-04  5:02   ` curby .
2005-08-04 18:42     ` Ricardo J. Méndez
2005-08-04 21:33       ` curby .
2005-08-04 22:20         ` Ricardo J. Méndez
2005-08-04  7:55   ` Jan Engelhardt
2005-08-04 16:22 ` Patrick Nelson
2005-08-04 18:19   ` Ricardo J. Méndez
2005-08-04 19:54     ` Patrick Nelson
2005-08-04 19:33 ` Jason Opperisano
     [not found] <20041028172521.3B3CB672@mail.817west.com>
2004-10-28 18:26 ` Ip Forwarding Jason Opperisano
2004-10-30 10:55   ` Nick Drage
2004-10-30 15:25     ` Jason Opperisano
2004-10-30 17:29       ` Nick Drage
2004-10-28 17:23 Joe Wright
2002-09-28  4:22 IP forwarding SB CH
2002-09-28  7:27 ` Antony Stone

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=1045971783.7040.16.camel@mikke \
    --to=bjorn@ruberg.no \
    --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.