Linux Netfilter discussions
 help / color / mirror / Atom feed
* howto bind Mac to ip address
@ 2003-08-11  8:17 Tariq Anwer
  2003-08-11 10:33 ` [iptables] " Paul Cousins
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tariq Anwer @ 2003-08-11  8:17 UTC (permalink / raw)
  To: netfilter

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

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: 1789 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: [iptables] howto bind Mac to ip address
@ 2003-08-11 11:03 George Vieira
  0 siblings, 0 replies; 8+ messages in thread
From: George Vieira @ 2003-08-11 11:03 UTC (permalink / raw)
  To: netfilter

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

There is also a "time" patch which can allow rules to be active at certain times.. ie. browse only during lunch time.. ;) etc etc..
This would make it easier than a crontab... but both just as easy..
 

Thanks,

 
____________________________________________
George Vieira
Citadel Computer Systems Pty Ltd Systems Manager georgev AT citadelcomputer DOT com DOT au 
Citadel Computer Systems Pty Ltd
Phone : +61 2 9955 2644 HelpDesk: +61 2 9955 2698  <http://www.citadelcomputer.com.au/> http://www.citadelcomputer.com.au
 
 
-----Original Message-----
From: Paul Cousins [mailto:paul@pimper.fsnet.co.uk]
Sent: Monday, August 11, 2003 8:34 PM
To: netfilter@lists.netfilter.org
Subject: Re: [iptables] howto bind Mac to ip address


.>  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 <mailto:alien@aol.com.pk>  
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: 8466 bytes --]

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

end of thread, other threads:[~2003-08-11 14:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-11  8:17 howto bind Mac to ip address Tariq Anwer
2003-08-11 10:33 ` [iptables] " Paul Cousins
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

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