Linux Netfilter discussions
 help / color / mirror / Atom feed
* Transparent firewall
@ 2004-06-02 20:10 Janos Makadi
  2004-06-02 20:17 ` Jeremy Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Janos Makadi @ 2004-06-02 20:10 UTC (permalink / raw)
  To: netfilter

Hi,

I have a problem, and I don`t know how to solve it.

What I would like to do is this:

I have a database server and I want to protect it. It has one nic 
connected to the local network. I want to setup a new linux box with two 
nics connected to the same ip network like this:

        ****        ****
  ------*  *--------*  *
        ****        ****

       Linux       RDBMS

Every traffic has to go through the Linux box, and filter out the 
unneded packets. I dont know how to config the linux to use the same ip 
network with this confoguration. Let me explain. For example the server 
has 10.1.0.5/255.255.255.0 address, and all the clients use this network 
config too. What ip addresses is allowed to use with the linux box? I 
mean can I use 10.1.0.4, 10.1.0.3 for the two nics at the linux box?

Any RTFM answers, with links is appreciated.

Thanks,

Janos Makadi


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

* RE: Transparent firewall
@ 2004-06-02 20:17 Aldo Lagana
  0 siblings, 0 replies; 5+ messages in thread
From: Aldo Lagana @ 2004-06-02 20:17 UTC (permalink / raw)
  To: 'Janos Makadi', netfilter

you want to BRIDGE the two interfaces - look at ebtables and BRIDGING HOW-TO

-----Original Message-----
From: Janos Makadi [mailto:maki@freemail.hu]
Sent: Wednesday, June 02, 2004 4:10 PM
To: netfilter@lists.netfilter.org
Subject: Transparent firewall


Hi,

I have a problem, and I don`t know how to solve it.

What I would like to do is this:

I have a database server and I want to protect it. It has one nic 
connected to the local network. I want to setup a new linux box with two 
nics connected to the same ip network like this:

        ****        ****
  ------*  *--------*  *
        ****        ****

       Linux       RDBMS

Every traffic has to go through the Linux box, and filter out the 
unneded packets. I dont know how to config the linux to use the same ip 
network with this confoguration. Let me explain. For example the server 
has 10.1.0.5/255.255.255.0 address, and all the clients use this network 
config too. What ip addresses is allowed to use with the linux box? I 
mean can I use 10.1.0.4, 10.1.0.3 for the two nics at the linux box?

Any RTFM answers, with links is appreciated.

Thanks,

Janos Makadi


Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 




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

* RE: Transparent firewall
  2004-06-02 20:10 Transparent firewall Janos Makadi
@ 2004-06-02 20:17 ` Jeremy Jones
  2004-06-03  4:56   ` Janos Makadi
  0 siblings, 1 reply; 5+ messages in thread
From: Jeremy Jones @ 2004-06-02 20:17 UTC (permalink / raw)
  To: netfilter

You want bridging.  Start here: http://bridge.sourceforge.net/

jeremy jones

-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Janos Makadi
Sent: Wednesday, June 02, 2004 2:10 PM
To: netfilter@lists.netfilter.org
Subject: Transparent firewall


Hi,

I have a problem, and I don`t know how to solve it.

What I would like to do is this:

I have a database server and I want to protect it. It has one nic 
connected to the local network. I want to setup a new linux box with two

nics connected to the same ip network like this:

        ****        ****
  ------*  *--------*  *
        ****        ****

       Linux       RDBMS

Every traffic has to go through the Linux box, and filter out the 
unneded packets. I dont know how to config the linux to use the same ip 
network with this confoguration. Let me explain. For example the server 
has 10.1.0.5/255.255.255.0 address, and all the clients use this network

config too. What ip addresses is allowed to use with the linux box? I 
mean can I use 10.1.0.4, 10.1.0.3 for the two nics at the linux box?

Any RTFM answers, with links is appreciated.

Thanks,

Janos Makadi



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

* Re: Transparent firewall
  2004-06-02 20:17 ` Jeremy Jones
@ 2004-06-03  4:56   ` Janos Makadi
  2004-06-03  9:42     ` T. Horsnell (tsh)
  0 siblings, 1 reply; 5+ messages in thread
From: Janos Makadi @ 2004-06-03  4:56 UTC (permalink / raw)
  Cc: netfilter

Jeremy Jones wrote:

> You want bridging.  Start here: http://bridge.sourceforge.net/

Thanks for the answers. I start reading and learning.


Regads,

Janos Makadi




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

* Re: Transparent firewall
  2004-06-03  4:56   ` Janos Makadi
@ 2004-06-03  9:42     ` T. Horsnell (tsh)
  0 siblings, 0 replies; 5+ messages in thread
From: T. Horsnell (tsh) @ 2004-06-03  9:42 UTC (permalink / raw)
  To: Janos Makadi; +Cc: netfilter

We have a similar scheme between our LAN and the University-owned
router, and we use proxy-arp instead of bridging (bridging wasnt
available when we first started 3 years ago)

Cheers,
Terry.


>Jeremy Jones wrote:
>
>> You want bridging.  Start here: http://bridge.sourceforge.net/
>
>Thanks for the answers. I start reading and learning.
>
>
>Regads,
>
>Janos Makadi
>
>
>
>



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

end of thread, other threads:[~2004-06-03  9:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 20:10 Transparent firewall Janos Makadi
2004-06-02 20:17 ` Jeremy Jones
2004-06-03  4:56   ` Janos Makadi
2004-06-03  9:42     ` T. Horsnell (tsh)
  -- strict thread matches above, loose matches on Subject: below --
2004-06-02 20:17 Aldo Lagana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox