• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Is there any way to disable a MAC address w/o deleting it from the list?

Scheduled Pinned Locked Moved DHCP and DNS
4 Posts 2 Posters 2.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mnv
    last edited by Feb 6, 2009, 7:25 PM

    Hello.

    I've a couple of MAC-IP entries in the DHCP server settings. Now I'd like to "disable" some MAC addresses w/o deleting them from the list, i.e. these MAC addresses will not be able to use internet. They pay a monthly payment - then I allow them to use internet. For now, I use a plain text file with these MAC-IP pairs, and when somebody didn't pay, I simply delete that MAC from the list. He/she pays - I add MAC to the list. But this is wrong way. How to do the right way?  :). Thanks!

    1 Reply Last reply Reply Quote 0
    • S
      Slam
      last edited by Feb 11, 2009, 10:02 PM

      I dont know how your setup is, but I think its more logical to use the captive portal feature of pfs for your needs, you can allow mac addresses to bypass the captive portal for customers who have paid, this of course can be disabled for the ones that have late payment or new customers, you can customise the default CP login screen with some sort of notice/information.

      This way you retain your static IP list on the DHCPD

      Slam

      1 Reply Last reply Reply Quote 0
      • M
        mnv
        last edited by Feb 11, 2009, 10:28 PM

        @Slam:

        I dont know how your setup is, but I think its more logical to use the captive portal feature of pfs for your needs, you can allow mac addresses to bypass the captive portal for customers who have paid, this of course can be disabled for the ones that have late payment or new customers, you can customise the default CP login screen with some sort of notice/information.

        This way you retain your static IP list on the DHCPD

        Slam

        Slam,

        I "discovered" very simple way. I'll just create a rule(s) which will block traffic from the specific IP. When that IP pays, I'll just switch off the rule, w/o deleting it. I didn't try yet, but I think it should work.

        BTW, could you please explain (or give me a link) what is "captive portal"? What it made for? Is it FreeBSD-based feature or something else? :) I do understand Linux well enogh, but all my FreeBSD experience is pfSense here and there. It just works, so I didn't dig in…

        Thanks.

        1 Reply Last reply Reply Quote 0
        • S
          Slam
          last edited by Feb 12, 2009, 2:11 AM Feb 12, 2009, 2:07 AM

          Heres some links to pfsense features

          http://www.pfsense.org/index.php?option=com_content&task=view&id=40&Itemid=43

          and captive portal

          http://doc.pfsense.org/index.php/Special:Search?search=captive+portal&go=Go

          I personally use it as many others do as well and it works great, on both wired and wireless networks, I think you'll find it easier to manage users than what youre currently doing, no point trying to reinvent the wheel.

          You can find it under Services/Captive portal on the pfsense gui.

          Slam

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received