Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Paul Cousins" <paul@pimper.fsnet.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: [iptables] howto bind Mac to ip address
Date: Mon, 11 Aug 2003 11:33:30 +0100	[thread overview]
Message-ID: <001101c35ff4$025cc900$0300a8c0@frodo> (raw)
In-Reply-To: 007601c35fe1$01eb3d20$142a45ca@shahid

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

.>  I want to bind each MAC address to his or her assigned IP address so nobody should mess around to change his or her IP's.

look into dhcpd from the internet consortium www.isc.org/products/DHCP/ 99.9% of all linux release's come with so its a case of RTM and go from there but its very easy to configure espically with something like webmin.

2.> I want to allow selective MAC addresses each time, so they are not allowed to use it all the time or I can block them whenever I want to.



iptables can filter by mac address and ip adress so deny all users but those you wish to allow. A script with an allow variable in it would be you best bet as you coud add and remove users very quickly form the script then simply run and you new rules will be implemented immediately.



simple cron scripts with drop or deny rules set to run at times you wish to deny access will restrict the users. there may be an easy way not sure?. 





hope this points you in the rigth direction.

------------------------------------------------
Paul Cousins
Canterbury Computer Services
paul@canterburycomputerservices.co.uk


  ----- Original Message ----- 
  From: Tariq Anwer 
  To: netfilter@lists.netfilter.org 
  Sent: Monday, August 11, 2003 9:17 AM
  Subject: [iptables] howto bind Mac to ip address


  Hi!

  I'm a new to Linux, I want to setup Linux NAT box for a small LAN with selective services to allow like only browsing for staff and other services for management like ftp msn chatting etc.

   

  1.>  I want to bind each MAC address to his or her assigned IP address so nobody should mess around to change his or her IP's.

   

  2.> I want to allow selective MAC addresses each time, so they are not allowed to use it all the time or I can block them whenever I want to.

   

  I will highly appreciate if anybody could help me or direct me to any web site or article to build this Box successfully.

   

  Best regards,

   

  Alien

[-- Attachment #2: Type: text/html, Size: 4945 bytes --]

  reply	other threads:[~2003-08-11 10:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-11  8:17 howto bind Mac to ip address Tariq Anwer
2003-08-11 10:33 ` Paul Cousins [this message]
2003-08-11 13:05 ` Ramin Dousti
2003-08-11 13:28   ` Cedric Blancher
2003-08-11 13:48     ` Ramin Dousti
2003-08-11 14:08       ` Cedric Blancher
2003-08-11 14:51 ` Sebastian
  -- strict thread matches above, loose matches on Subject: below --
2003-08-11 11:03 [iptables] " George Vieira

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='001101c35ff4$025cc900$0300a8c0@frodo' \
    --to=paul@pimper.fsnet.co.uk \
    --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