Difference between revisions of "Blocking Internet Access for LAN Clients"

From Teltonika Networks Wiki
(3 intermediate revisions by 2 users not shown)
Line 16: Line 16:
 
             <li>Set 'Destination Zone' to <i>wan</i>.</li>
 
             <li>Set 'Destination Zone' to <i>wan</i>.</li>
 
             <li>Click 'Add'.</li>
 
             <li>Click 'Add'.</li>
         </ol>[[File:New rule traffic rule Block LAN.png|border|class=tlt-border]]
+
         </ol>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_1.png|border|class=tlt-border]]
 
     </li>
 
     </li>
 
</ul>
 
</ul>
Line 27: Line 27:
 
             <li>Set 'Protocol' to <i>Any</i>.</li>
 
             <li>Set 'Protocol' to <i>Any</i>.</li>
 
             <li>Set 'Action' to <i>Drop</i>.</li>
 
             <li>Set 'Action' to <i>Drop</i>.</li>
         </ol>[[File:Networking device faq blocking internet access for lan clients v4 2.png|border|class=tlt-border]]
+
         </ol>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_2.png|border|class=tlt-border]]
 
     </li>
 
     </li>
 
     <li>If you later wish to undo the changes, you can delete the rule or turn it off.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_3.gif|border|class=tlt-border]]</li>
 
     <li>If you later wish to undo the changes, you can delete the rule or turn it off.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_3.gif|border|class=tlt-border]]</li>
Line 40: Line 40:
 
             <li>Set 'Source address' to the the one that you wish to block.</li>
 
             <li>Set 'Source address' to the the one that you wish to block.</li>
 
             <li>Set 'Action' to <i>Drop</i>.</li>
 
             <li>Set 'Action' to <i>Drop</i>.</li>
         </ol>[[File:Traffic rule single config Block LAN.png|border|class=tlt-border]]
+
         </ol>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_4.png|border|class=tlt-border]]
 
     </li>
 
     </li>
     <li>Alternatively, you can specify an IP address/netmask combination to include a range of addresses. For example, specifying <i>192.168.1.100/30</i> as the 'Source address' would denote a range of 192.168.1.100 to 192.168.1.103.<br>[[File:Traffic rule single subnet config Block LAN.png|border|class=tlt-border]]</li>
+
     <li>Alternatively, you can specify an IP address/netmask combination to include a range of addresses. For example, specifying <i>192.168.1.100/30</i> as the 'Source address' would denote a range of 192.168.1.100 to 192.168.1.103.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_5.png|border|class=tlt-border]]</li>
 
     <li>If you later wish to undo the changes, you can delete the rule or turn it off.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_3.gif|border|class=tlt-border]]</li>
 
     <li>If you later wish to undo the changes, you can delete the rule or turn it off.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_3.gif|border|class=tlt-border]]</li>
 
</ul>
 
</ul>
Line 54: Line 54:
 
             <li>Set 'Destination address' to the the one that you wish to block.</li>
 
             <li>Set 'Destination address' to the the one that you wish to block.</li>
 
             <li>Set 'Action' to <i>Drop</i>.</li>
 
             <li>Set 'Action' to <i>Drop</i>.</li>
         </ol>[[File:Traffic rule destination config Block LAN.png|border|class=tlt-border]]
+
         </ol>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_8.png|border|class=tlt-border]]
 
     </li>
 
     </li>
     <li>Alternatively, you can specify an IP address/netmask combination to include a range of addresses. For example, specifying <i>10.0.0.0/8</i> as the 'Destination address' would denote a range of 10.0.0.0 to 10.255.255.255<br>[[File:Traffic rule destination subnet config Block LAN.png|border|class=tlt-border]]</li>
+
     <li>Alternatively, you can specify an IP address/netmask combination to include a range of addresses. For example, specifying <i>10.0.0.0/8</i> as the 'Destination address' would denote a range of 10.0.0.0 to 10.255.255.255<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_9.png|border|class=tlt-border]]</li>
 
     <li>If you later wish to undo the changes, you can delete the rule or turn it off.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_3.gif|border|class=tlt-border]]</li>
 
     <li>If you later wish to undo the changes, you can delete the rule or turn it off.<br>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_3.gif|border|class=tlt-border]]</li>
 
</ul>
 
</ul>
  
 
==Blocking a specific site(s)==
 
==Blocking a specific site(s)==
'''Note''': On RUT and TRB series devices, Web Filter is additional software that can be installed from the '''System → Package Manager''' page.
+
 
 
<ul>
 
<ul>
 
     <li>To block access to a website for LAN clients, go to Services → Web Filter.</li>
 
     <li>To block access to a website for LAN clients, go to Services → Web Filter.</li>
Line 68: Line 68:
 
             <li>Turn Web Filter on.</li>
 
             <li>Turn Web Filter on.</li>
 
             <li>Set 'Mode' to <i>Blacklist</i>.</li>
 
             <li>Set 'Mode' to <i>Blacklist</i>.</li>
         </ol>[[File:Site blocking config Web filter.png|border|class=tlt-border]]<br>Alternatively, you can set 'Mode' to <i>Whitelist</i> to allow access only to specific sites and block access to all others.
+
         </ol>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_6.png|border|class=tlt-border]]<br>Alternatively, you can set 'Mode' to <i>Whitelist</i> to allow access only to specific sites and block access to all others.
 
     </li>
 
     </li>
 
     <li>Specify sites that you wish to block under the 'Site Blocking Rules' section.
 
     <li>Specify sites that you wish to block under the 'Site Blocking Rules' section.
Line 75: Line 75:
 
             <li>Specify a 'Hostname' that you wish to block.</li>
 
             <li>Specify a 'Hostname' that you wish to block.</li>
 
             <li>Don't forget to save the changes.</li>
 
             <li>Don't forget to save the changes.</li>
         </ol>[[File:Site blocking example config Web Filter.png|border|class=tlt-border]]
+
         </ol>[[File:Networking_device_faq_blocking_internet_access_for_lan_clients_7.png|border|class=tlt-border]]
 
     </li>
 
     </li>
 
</ul>
 
</ul>
  
[[Category:Router control and monitoring]]
+
[[Category:Networking]]

Revision as of 12:49, 24 March 2023

Main Page > General Information > Configuration Examples > Router control and monitoring > Blocking Internet Access for LAN Clients

The information on this page is updated in accordance with the 00.07.4 firmware version .

Introduction

This article contains instructions o how to block Internet access for LAN clients using a Teltonika-Networks device.

Blocking WAN (Internet) access

Access between your end device and other networks is controlled by your network device's (router, gateway) firewall. Therefore, in order to set networks access limitations you will need to modify the firewall configuration. In the Teltonika-Networks devices this can be done over the Network → Firewall page.


All clients


Single client or range of clients


  • To block a single LAN client from accessing the Internet, set up the rule like this:
    1. Set 'Protocol' to Any.
    2. Set 'Source address' to the the one that you wish to block.
    3. Set 'Action' to Drop.
    Networking device faq blocking internet access for lan clients 4.png
  • Alternatively, you can specify an IP address/netmask combination to include a range of addresses. For example, specifying 192.168.1.100/30 as the 'Source address' would denote a range of 192.168.1.100 to 192.168.1.103.
    Networking device faq blocking internet access for lan clients 5.png
  • If you later wish to undo the changes, you can delete the rule or turn it off.
    Networking device faq blocking internet access for lan clients 3.gif

Blocking a specific IP or network


  • To block all LAN clients from accessing specific IP address, set up the rule like this:
    1. Set 'Protocol' to Any.
    2. Set 'Destination address' to the the one that you wish to block.
    3. Set 'Action' to Drop.
    Networking device faq blocking internet access for lan clients 8.png
  • Alternatively, you can specify an IP address/netmask combination to include a range of addresses. For example, specifying 10.0.0.0/8 as the 'Destination address' would denote a range of 10.0.0.0 to 10.255.255.255
    Networking device faq blocking internet access for lan clients 9.png
  • If you later wish to undo the changes, you can delete the rule or turn it off.
    Networking device faq blocking internet access for lan clients 3.gif

Blocking a specific site(s)

  • To block access to a website for LAN clients, go to Services → Web Filter.
  • Set the main parameters of Web Filter under the 'Site Blocking Settings' section.
    1. Turn Web Filter on.
    2. Set 'Mode' to Blacklist.
    Networking device faq blocking internet access for lan clients 6.png
    Alternatively, you can set 'Mode' to Whitelist to allow access only to specific sites and block access to all others.
  • Specify sites that you wish to block under the 'Site Blocking Rules' section.
    1. Click 'Add' to create a new entry in the list. You may add as many entries as you wish.
    2. Specify a 'Hostname' that you wish to block.
    3. Don't forget to save the changes.
    Networking device faq blocking internet access for lan clients 7.png