This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
access_restrictions [2023/05/24 21:36] – [Scripting Access Restrictions] -move cron job sentence below script hogwild | access_restrictions [2023/07/02 16:23] – [Scripting Access Restrictions] -formatting hogwild | ||
---|---|---|---|
Line 12: | Line 12: | ||
\\ | \\ | ||
- | |||
- | \\ | ||
The returned string might look something like this: | The returned string might look something like this: | ||
Line 43: | Line 41: | ||
* 1 = Sunday | * 1 = Sunday | ||
* 2 = Monday | * 2 = Monday | ||
- | * 3 = Tuesday | + | * 4 = Tuesday |
- | * 4 = Wednesday | + | * 8 = Wednesday |
- | * 5 = Thursday | + | * 16 = Thursday |
- | * 6 = Saturday | + | * 32 = Friday |
- | * 7 = Sunday | + | * 64 = Sunday |
- | For multiple days, add the corresponding numbers for each day. | + | For multiple days, simply |
- | In the above example the fourth field is 62 which is equal to 2+4+8+16+32 . This means the rule should be active on Mon, Tue, Wed., Thu., and Fri. That is, only on weekdays. If you had checked the // | + | In the above example, the fourth field is 62, which is equal to 2 + 4 + 8 + 16 + 32 . This means the rule should be active on Mon, Tue, Wed, Thu, and Fri. That is, only on weekdays. If you had checked the // |
**Field 5:** shows the IP or MAC Address range on your network for which the rule should be applied. | **Field 5:** shows the IP or MAC Address range on your network for which the rule should be applied. | ||
Line 111: | Line 109: | ||
done | done | ||
</ | </ | ||
- | |||
- | \\ | ||
\\ | \\ | ||
- | If you have jffs enabled in FreshTomato, | + | If you have JFFS enabled in FreshTomato, |
\\ | \\ | ||
Line 126: | Line 122: | ||
[[http:// | [[http:// | ||
- | |||
- |