Site Tools


restrict-edit

This is an old revision of the document!


Access Restriction

The Access Restriction menu contains functions that allow you to block:

  • Access to portions of the the Internet.
  • Access to the entire Internet.
  • WiFi access to the network.

Restrictions are done based on rules and a schedule.

Access Restriction only blocks traffic routed outbound to the Internet. It cannot restrict access between (switched) LAN clients. It also cannot block traffic when the device is used as a switch only or as a wireless bridge. In such cases, see the Wireless MAC filtering via script/scheduler and the Block devices via script/scheduler HOWTO pages.

Rules can be customized to block:

  • Only certain sources
  • Only certain destinations
  • Only certain ports
  • Only certain protocols, or applications
  • Only certain HTTP activity
  • Combinations of the above

Rules can be edited in the Web interface, and through scripts. Please see: Scripting Access Restrictions in the HOWTOs section.

Access Restriction Overview

The table in this section displays all saved rules, both active and inactive.

All rules are listed here. However, adding/editing any rules will forward you to another menu.


Editing Access Restriction Rules

After clicking on the Table mentioned above, you will be taken to the Rule Editing page.

Here:

  • To delete an existing rule, click on it on the Overview page, then in Rule Editing, click Delete.
  • To Edit an existing rule, click on the rule on the Overview page, make the changes and click Save.
  • To Add a new rule, click the Add button on the Overview page, configure the changes and click Save.
  • On the Rule Editing page, sequential rule numbers will display at the top left (For example: ID: 01)
  • These numbers will increment by 1 for each new rule you create.



Editing Access Restriction Rules


Enabled: Checking this enables the rule this rule.

Description: Here, you enter a name for this rule.

Schedule: Here, you configure settings for this rule's schedule.

  • All Day: Checking this applies the rule for the entire day (for all days selected in the Day section).
    • Enabling this makes the Time options disappear.
  • Every Day: Checking this applies the rule every day.
    • Enabling this makes the Days options disappear.
  • Time: Here, you set the start time and end time when this rule will be applied.
  • Days: Here, you set the Days on which this rule will be applied.


Type:

  • Normal Access Restriction: Specifies this rule will include all options set below the “Disable Wireless” option.
  • Disable Wireless: This rule will disable all WiFi interfaces on the router.


Applies To:

  • All Computers/Devices: This rule will apply to all network clients.
  • The Following… This rule will apply to only the specified network clients.
    • Add clients by entering their MAC or IP address in the MAC/IP Address field, then clicking Add.
    • Clients must be added one at a time.
  • All Except… This rule will apply to all network clients except the one specified.
    • You can think of this as somewhat similar to a client whitelist.
    • Add clients by entering their MAC or IP address in the MAC/IP Address box, then clicking Add.
    • Clients must be added one at a time.


Blocked Resources:

  • Block All Internet Access: Enabling this blocks all Internet access to the selected network clients.


Port / Application:

More than one rule can be configured, click the Add button to add a rule.

  • Protocol: Choose a protocol to block. Choosing a protocol with fixed ports will grey out the port field.
  • Port: Select a source port and/or destination port in the dropdown. Then, enter the port number in the next box.
    • This may be greyed out if you choose a fixed protocol in the Protocol field.
  • Application: Select which application to block.
  • Address: Select source and/or destination IP address, then enter the IP address in the next field.


HTTP Request:

word text

HTTP Requested Files:

This function will block download of certain file types.

The following file types can be blocked from downloading:

  • ActiveX: These Windows controls usually have a .dll or .ocx file ending.
  • Flash (swf)
  • Java (class, jar)


Delete: Deletes the Access Restriction rule displayed on the screen.

Save: Saves the current rule displayed on the screen.

Cancel: Cancels the current rule change(s) or creation, then returns you to the Access Restriction Overview page.

restrict-edit.1683687889.txt.gz · Last modified: 2023/05/10 04:04 by hogwild