Jump to content

DHCP server question


Guest fL1
 Share

Recommended Posts

I was wondering if there was a way to block statically assigned ip address's from reaching the internet. All our ip address's are assigned dynamically, but some users are changing there own to static, is there anyway to stop statically assigned numbers from reaching the internet? ie: forcing them to use the DHCP server.

 

thanks

Link to comment
Share on other sites

I was wondering if there was a way to block statically assigned ip address's from reaching the internet.  All our ip address's are assigned dynamically, but some users are changing there own to static, is there anyway to stop statically assigned numbers from reaching the internet? ie: forcing them to use the DHCP server.

 

thanks

 

I haven't tried this before, mostly we run win2k or linux desktops, where users can't change admin-type settings themselves, but this might work:

 

1)Setup dynamic DNS on the DHCP server, so that a succesful lease will setup up forward and reverse DNS entries on your DNS server

 

2)Setup a firewall, forcing all internet access through the proxy

 

3)On the squid proxy, make an acl:

acl dhcp_users srcdomain .mydomain.com

 

Only users that have leased an IP should be matched by this ACL, except for static DNS entries

 

4)In the squid conf, do something like

http_access deny all

http_access allow dhcp_users

 

Shout if you don't know how to do one of those. Mandrake's SNF/MNF is quite easy so use for the firewall side of the picture (redirecting http traffic to a transparent proxy).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...