Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: michael@floog.net
Cc: netfilter@lists.netfilter.org
Subject: Re: How to drop/reject packets amongst LAN clients?
Date: Mon, 10 May 2004 12:16:51 -0500	[thread overview]
Message-ID: <409FB903.1090005@pbl.ca> (raw)
In-Reply-To: <1084206191.409fac6f1176a@webmail.floog.net>

michael@floog.net wrote:
> Hi Group:
> But I don't know how to craft a rule that allows only some machines to
> send/receive data packets to/from *.9 while blocking other machines'
> access to *.9 on the LAN.

Machines on LAN talk directly to each other.  Those packets do not go 
through your firewall, so you can't block them there.

There are two solution to your problem:

If 192.168.1.9 is a Linux box, configure Netfilter on it so that 
anything not from 7 or 8 is dropped.

Second solution would be to put new server onto separate LAN. 
192.168.1.9 will become 192.168.2.9 (or whatever).  Than clients on your 
first LAN (192.168.1.0/24) will have to talk to your firewall/router to 
get to the server on your second LAN (192.168.2.0/24).

You will need one more ethernet card for second solution.  If additional 
server is going to be the only host in second LAN, you can connect it 
directly with cross over cable.  If you are going to add more servers to 
second LAN, you will also need additional hub or switch (do not connect 
two LANs into same hub).

-- 
Aleksandar Milivojevic <amilivojevic@pbl.ca>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


  parent reply	other threads:[~2004-05-10 17:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10 16:23 How to drop/reject packets amongst LAN clients? michael
2004-05-10 16:43 ` Antony Stone
2004-05-10 17:31   ` michael
2004-05-10 17:43     ` Antony Stone
2004-05-10 17:14 ` Cedric Blancher
2004-05-10 17:34   ` Antony Stone
2004-05-10 17:46     ` Cedric Blancher
2004-05-10 17:16 ` Aleksandar Milivojevic [this message]
2004-05-10 18:26   ` michael

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=409FB903.1090005@pbl.ca \
    --to=amilivojevic@pbl.ca \
    --cc=michael@floog.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox