Use SES button for an access restriction?

Discussion in 'Tomato Firmware' started by fiurico, Apr 2, 2007.

  1. fiurico

    fiurico Network Guru Member


    I would like to use the SES button to enable/disable an access restriction. Would this be possible? Please advise as it would make putting the kids to bed on time much easier :)

  2. turbo53

    turbo53 Network Guru Member

    I'm sure it can be done and I'm sure someone here will provide the script :) . But if you really mean it about putting the kids to bed, there is an easier way.

    You can create restrictions that kick in on specific days (such as school nights) and at specific times (say, from 9:00 PM to 7:00 AM). That should do the trick.
  3. mikester

    mikester Network Guru Member

  4. fiurico

    fiurico Network Guru Member

    As to the first poster, thank you, but I want something "on the fly" so to speak. Trust me, in my case it makes things easier.

    As for the second poster, my son has HADD. In case you dont know what that means, I will spell it out for you: Hyper Attention Deficit Disorder. He forgets things within five seconds, so now that you have stuck your foot in your mouth, you could help answer with what I asked for instead of giving me your two cents which I certainly do not need.

  5. mikester

    mikester Network Guru Member

    Do you mean ADHD? Been there, done that. I've even put my foot in my mouth sometimes. These links will be of interest:

    I really recommend buying this book as it puts things in a different perspective:

    turbo53 proposed a very good solution.

    If pressing the SES button gives you a willy then adding the following script will disable all IP traffic:

    iptable -F
    iptables -P INPUT DROP
    iptables -P OUTPUT DROP
    iptables -P FORWARD DROP

  6. fiurico

    fiurico Network Guru Member

    Now we are talking!

    Now, I do not know if I can apply this simply to an access restriction as previously stated. That would be my number one route to go. If I can't, can I apply it to per say, 1 Dedicated LAN's port? Or one MAC? IP? Something that would only isolate his computer is what I would be looking for if the access restriction scenario isnt feasable to tie to the SES Button. In case your wondering, the restriction in question cuts off the most favorite (uneducational) things he likes to do...i.e. CS, youtube, muonline, yada yada yada...This restriction still allows him to do HW and reference and hence, why I would like to implement it this way. Also, whichever of the two scenarios are possible, would turn on and off the scenario? or just turn it on...

    Thanks for your input.
  7. fiurico

    fiurico Network Guru Member


  8. whirka

    whirka Guest

    I would like to do the same thing actually. I want to be able to use the button to toggle an access restriction controlling P2P ports so that they can be quickly toggled. The timed setting aren't very ideal as I'd like quick control when playing games over the internet (times anyone on network play may vary). QoS does its job to a degree but more control would be ideal and certain games just can't handle any P2P load. If anyone has any ideas of how this can be done I would appreciate it as well =)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice