After School Rules

After School Rules

Relay’s After School Rules are rules that you can apply in place of the Default Rules based on scheduling or IP range. These are typically used to control filtering when student devices are off-campus.

Note: After School Rules utilize your public IP address.

You can navigate to After School Rules by going to Internet Access > After School.

On the After School Rules page, you can enable the rules by adjusting the slider. You can select Off (disabled), Scheduled, or Off Campus. 

You can set After School Rules for all of your campus networks. Click the network button to the right of the toggle options to set your networks.

The following box will pop up. Enter your network name in the Network box and your Classless Inter-Domain Routing (CIDR) number in the CIDR box. Select your predefined CDRI switch from the dropdown menu. Click Add.

You will then see your network in the Network list. Add as many networks as necessary. You can delete a network from the list by clicking the gray x to the right of the network CIDR.

Note: The CIDR is a range of IPs. Example: If your IPs range from to, your CIDR is You can use this tool to determine your CIDR.

Once you have added your networks, you are ready to set your options.

Note: The options set will apply to the Scheduled and the Off Campus After School Rules. You can still set desired behaviors and options when After School Rules is set to Off, but these will not apply until After School Rules is set to either Scheduled or Off Campus. 

Scheduled After School Rules

You can set Scheduled After School Rules by selecting the Scheduled option on the top toggle.

Once toggled, the schedule grid will appear. Here you can set the exact schedule for your rules. You can set the schedule for the regular week (Mon-Fri) and for the weekend (Sat, Sun.) Type in the start time into the Start field and the end time into the End field.

The rules set below will only apply during the periods specified in the schedule grid above.

Off Campus After School Rules

You can set Off Campus After School Rules by selecting the Off Campus option on the top toggle.

When Off Campus is selected, rules specified below will automatically apply when student devices leave the networks that were specified as Campus Networks in the step above.

The After School Rules section is divided into three categories: General, Videos, and Categories.

The General section allows you to set Internet Access and Reporting options. Under Internet Access, you can determine if you want your users’ after school internet access to be:

Off – Internet access will be completely off and your users will not be able to access the internet on their devices.

Filtered – Users will have internet access, but it will be filtered based on your Relay rules.

Unfiltered – Users will have internet access, and it will be completely unfiltered with none of your Relay rules applying.

The General section also allows you to enable or disable Reporting. When enabled, internet activity will be recorded and reported in the Reports section of Relay. When disabled, no internet activity will be reported. You can enable and disable this option by toggling the switch.

In addition, the General section allows you to Filter and Report for Chromebooks only. This feature is useful if you only want reports on data generated by Chromebooks, while ignoring all other operating systems.


The Videos section allows you to set after school video rules for your users. These settings are similar to those found in the Video Rules section of Internet Access > Video Rules. Your first choice is whether you want your users to have access to YouTube, period. By default, YouTube is allowed. You can completely disable YouTube by selecting the Block YouTube option from the dropdown menu. Otherwise, keep the Allow YouTube option selected.

You can enable Smart Play by toggling the switch to the right of Smart Play. Once Smart Play is enabled, you will also have the option to allow other videos (videos that are not categorized and therefore not filtered by Smart Play. We recommend that you leave this option disabled.) Learn more about Smart Play in the Internet Access > Videos documentation.

Clicking the Show YouTube Options button will show you the YouTube Controls options.

Note: Categories are not available if Smart Play is enabled as Smart Play overrides YouTube’s native categories. We recommend using Smart Play over YouTube Categories as Smart Play intelligently categorized videos while YouTube categories are set by video uploaders, who do not always set categories correctly.

These options are the same as those found under Internet Access > Videos. Controls include:

1. Force Restricted Mode: This option enables YouTube’s Restricted Mode, which hides any videos that YouTube determines to be inappropriate. You can learn more about Restricted Mode in this YouTube help video.

Note: Restricted Mode should be disabled if Smart Play is enabled.

2. Hide Featured Videos on Channels. When enabled, this option will hide the featured autoplay video found at the top of a YouTube channel.

3. Hide Video Thumbnails. This option hides video thumbnails on YouTube.

4. Hide Comments: This option hides comments on YouTube videos. YouTube allows Google+ users to leave comments on the bottom of each video. These comments are usually not moderated and tend to contain offensive language.

5. Hide Sidebar: This option hides the YouTube sidebar, which contains related videos. These related videos are determined by a complex algorithm that suggests videos related to the video currently being watched as well as videos that the user might find interesting based on their browsing history. These videos could at times be of an offensive or distracting nature, or could contain videos that are in your blocked categories.

We recommend enabling all of the YouTube Options in order to ensure proper and safe YouTube usage by your users.


YouTube classifies each channel and each video into a distinct category, such as Film & Animation, Music, Shows, Education, etc. Relay now allows you to completely block videos and channels that fall into any individual category. You can enable or disable each individual category by toggling the corresponding switch. You can learn more about YouTube Categories in the Internet Access > Videos section.

Click Show All Categories at the bottom of the Categories list to see all categories.

Note: When an After School Rule policy is in effect, the Default Rule Checker is set to check against a currently active user policy. Custom Allow and Custom Block lists can be turned on for After School Rules and can then be referenced by the Default Rule Checker.