All of lore.kernel.org
 help / color / mirror / Atom feed
* Internet Servers behind firewall (passthrough)
@ 2004-02-11  1:29 Yuta Kawamoto
  2004-02-11  5:58 ` Ray Leach
  0 siblings, 1 reply; 8+ messages in thread
From: Yuta Kawamoto @ 2004-02-11  1:29 UTC (permalink / raw)
  To: netfilter

Hi, I am not a very netfilter savvy person. (beginner)
My problem is this:

I have 10 public(internet) IP addresses, each for a server.
These servers run a variety of OS-es, from RedHat Linux to MaxOSX
the only path for them to the internet, is a single network cable(a "red"
colored wire).
Right now, I have a RedHat Linux 9 machine connected to this red wire.
I have installed IPTABLES, but do not really know how to configure rules.

I would like this Linux "routing machine" to take all traffic to the 10
internet IP's
and pass them straight on to the servers connected on the other side of this
machine.


Internet(red wire) -> [eth0]Linux Routing PC[eth1] -> Switch/Hub -> 10
servers

I would need all ports on each of the machines,
as they would be serving all forms of traffic.

I have asked some friends who know more about Linux than I do, to no avail.
I would really appreciate any and all help in this matter.

Yuta Kawamoto




^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: Internet Servers behind firewall (passthrough)
@ 2004-02-11 19:11 bmcdowell
  0 siblings, 0 replies; 8+ messages in thread
From: bmcdowell @ 2004-02-11 19:11 UTC (permalink / raw)
  To: netfilter


Bridging comes to mind here as well:

bridge.sourceforge.net

ebtables.sourceforge.net


Bob
-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Alexander
Konovalenko
Sent: Wednesday, February 11, 2004 11:24 AM
To: netfilter@lists.netfilter.org; sceotjp@ybb.ne.jp
Cc: raymondl@knowledgefactory.co.za
Subject: Re: Internet Servers behind firewall (passthrough)


[ ... ]
>> I have 10 public(internet) IP addresses, each for a server.
[ ... ]
>> I would like this Linux "routing machine" to take all traffic to the
10
>> internet IP's
>> and pass them straight on to the servers connected on the other side
of this
>> machine.
>> 
>You need to investigate DNAT.

No, you don't.

DNAT is a form of Network Address Translation which would be necessary
if you didn't have enough public IP addresses.

What you need is to set up your Red Hat machine (one that is directly
connected to the internet) to be a router, that is, to forward IP
packets it gets from both sides in the right direction.

You can read how IP routing works in the Linux Network Administrator's
guide at http://www.tldp.org/LDP/nag2/x-087-2-issues.html.  Start from
there and then search for any additional info on how to set up routing
table for your router.  Notice that this issue is offtopic in this list,
which is dedicated to packet _filtering_, NAT, etc.

You may want to set up some kind of firewalling at your router to
protect your servers against different kinds of attacks or abuse.
_This_ is done using iptables.  Please consult appropriate documentation
at http://www.netfilter.org/ and http://www.tldp.org/ first.

 -- alexkon


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-11 21:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11  1:29 Internet Servers behind firewall (passthrough) Yuta Kawamoto
2004-02-11  5:58 ` Ray Leach
2004-02-11 17:24   ` Alexander Konovalenko
2004-02-11 19:02     ` Windows Update through Mandrake firewall cbaker
2004-02-11 19:37       ` Antony Stone
2004-02-11 19:56       ` Ray Anderson
2004-02-11 21:30         ` SOLVED: " Chris Baker
  -- strict thread matches above, loose matches on Subject: below --
2004-02-11 19:11 Internet Servers behind firewall (passthrough) bmcdowell

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.