1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Temporarily disable access restrictions

Discussion in 'Tomato Firmware' started by otterslide, Mar 17, 2017.

  1. otterslide

    otterslide New Member Member

    Is there any way to disable access restrictions for say an hour or two hours?

    I think such feature would be very useful. I want to schedule my Wifi to turn off during the night, but rarely I might need it during the restricted hours.

    Is there any workaround right now other than disabling the restriction? I may forget to re-enable it if I do this.

    My router is an Asus and it has a little button on the back. If I can make that button disable access restrictions for 2 hours it would be amazing.
    Is it possible to make a script that runs when I push the button that disables all access restrictions for the next 2 hours?

    The router is Asus RT-N12.

    Any help is very much appreciated!
     
    Last edited: Mar 18, 2017
  2. Elfew

    Elfew LI Guru Member

    You can set time range when restrictions are active, so let them ON only when you want
     
  3. eibgrad

    eibgrad Network Guru Member

    Try binding the following custom script to the WPS button.

    Code:
    (
    iptables -I restrict -j RETURN
    sleep $((60*120))
    iptables -D restrict -j RETURN
    ) &
     

Share This Page