Site Tools


access_restrictions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
access_restrictions [2023/07/02 16:23] – [Scripting Access Restrictions] -formatting hogwildaccess_restrictions [2023/10/26 17:20] (current) – [Scripting Access Restrictions] -format hogwild
Line 2: Line 2:
  
 Access Restriction rules are coded as strings separated by pipe ( | ) symbols. These are stored in NVRAM as variables named //rrule0//, //rrule1//, //rrule2// and so on. Access Restriction rules are coded as strings separated by pipe ( | ) symbols. These are stored in NVRAM as variables named //rrule0//, //rrule1//, //rrule2// and so on.
 +
 + \\
  
 To see what's in the first rule, we can issue the following command at a FreshTomato shell prompt: To see what's in the first rule, we can issue the following command at a FreshTomato shell prompt:
Line 45: Line 47:
   * 16 = Thursday   * 16 = Thursday
   * 32 = Friday   * 32 = Friday
-  * 64 = Sunday+  * 64 = Saturday 
 + 
 + \\
  
 For multiple days, simply add together the corresponding numbers for each day. For multiple days, simply add together the corresponding numbers for each day.
Line 64: Line 68:
   * A "2" will block Flash.   * A "2" will block Flash.
   * A "4" will block Java.   * A "4" will block Java.
 +
 + \\
  
 **Field 9:**  stores the name that you gave to the rule being edited. **Field 9:**  stores the name that you gave to the rule being edited.
Line 122: Line 128:
  
 [[http://web.archive.org/web/20160321090715/http://infinilogix.com/wordpress/network-programming/routers/how-to-control-access-restriction-rules-in-tomato-by-a-shell-script|Credit: Justin from "infinilogix.com" - original page which is now only accessible via archive.org]] [[http://web.archive.org/web/20160321090715/http://infinilogix.com/wordpress/network-programming/routers/how-to-control-access-restriction-rules-in-tomato-by-a-shell-script|Credit: Justin from "infinilogix.com" - original page which is now only accessible via archive.org]]
 +
 +
access_restrictions.1688311432.txt.gz · Last modified: 2023/07/02 16:23 by hogwild