Difference between revisions of "How to set up a guest WiFi network"

From Teltonika Networks Wiki
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<p style="color:red">The information on this page is updated in accordance with the [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.08'''] firmware version .</p>
+
<p style="color:red">The information on this page is updated in accordance with the [https://wiki.teltonika-networks.com/view/FW_%26_SDK_Downloads'''00.07.4'''] firmware version .</p>
 
==Introduction==
 
==Introduction==
Most of us are aware, that network security is critical. If your WiFi network is not properly secured, it makes you and all of your home or office resources vulnerable to a variety of security threats. To stay ahead of the curve, many companies and home users have guest WiFi. Unlike your regular WiFi network that you or your company members use, the guest WiFi network restricts what your guests can do in your network. It gives visitors access to the Internet connection, but nothing else making you or your company a lot more secure. This chapter is a guide on configuring a guest's WiFi.
+
Most of us are aware, that network security is extremely important. If your WiFi network is not properly secured, it makes you and all of your home or office resources vulnerable to a variety of security threats. To stay ahead of the curve, many companies and home users have guest WiFi. Unlike your regular WiFi network that you or your company members use, the guest WiFi network restricts what your guests can do in your network. It gives visitors access to the Internet connection, but nothing else making you or your company a lot more secure. This chapter is a guide on configuring a guest WiFi.
  
 
==Configuring the router==
 
==Configuring the router==
 
Before you start configuring the router <b>turn on "Advanced WebUI" mode</b>. You can do that by clicking the "Basic" button under "Mode", which is located at the top-right corner of the WebUI.  
 
Before you start configuring the router <b>turn on "Advanced WebUI" mode</b>. You can do that by clicking the "Basic" button under "Mode", which is located at the top-right corner of the WebUI.  
  
[[File:Networking_rutos_manual_webui_basic_advanced_mode_75.gif|border|center|class=tlt-border|1102x93px]]
+
[[File:Networking_rutx_manual_webui_basic_advanced_mode_v1.gif|border|class=tlt-border]]
  
  
Line 15: Line 15:
 
     <tr>
 
     <tr>
 
         <th width=270; style="border-bottom: 1px solid white;></th>
 
         <th width=270; style="border-bottom: 1px solid white;></th>
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>[[File:RutOS_Guest_Wifi_7.8_Guest_wifi_add.png|border|class=tlt-border|800x176px|right]]</th>
+
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>[[File:WiFi_interfaces.png|border|class=tlt-border|808x563px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td style="border-bottom: 4px solid white>
 
         <td style="border-bottom: 4px solid white>
Login to the router's WebUI, navigate to the '''Network → Wireless → SSIDs''' page. Click '''Add'''. Then you will be forwarded to the configuration window.
+
Login to the router's WebUI, navigate to the '''Network → Wireless''' page. Click '''Add'''. You can use either, 2.4GHz or 5GHz WiFi. Then you will be forwarded to the configuration window.
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
Line 29: Line 29:
 
     <tr>
 
     <tr>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>[[File:RutOS_Guest_Wifi_7.8_Guest_wifi_Interface_new.png|border|class=tlt-border|866x407px|right]]</th>
+
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>[[File:Create new WiFi Interface.png|border|class=tlt-border|866x407px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 37: Line 37:
 
     <li>'''Enable''' instance.</li>
 
     <li>'''Enable''' instance.</li>
 
     <li>Select mode '''Access Point'''.</li>
 
     <li>Select mode '''Access Point'''.</li>
     <li>Enter a custom '''SSID'''.</li>
+
     <li>Enter a custom '''ESSID'''.</li>
    <li>Enter a custom '''Password'''.</li>
 
 
     <li>Expand the drop-down menu '''Network'''.</li>
 
     <li>Expand the drop-down menu '''Network'''.</li>
     <li>Create a new interface, by clicking '''Add'''</li>
+
     <li>Create a new interface, enter a custom name '''Guest'''.</li>
    <li>Enter a custom name '''GuestLan'''.</li>
 
 
</ol>
 
</ol>
Once done, '''Save & Apply changes'''.
 
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
Line 50: Line 47:
 
----
 
----
  
===New LAN interface===
 
----
 
 
<table class="nd-othertables_2">
 
<table class="nd-othertables_2">
 
     <tr>
 
     <tr>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>[[File:RutOS_Guest_Wifi_7.8_Lan_interface_new.png|border|class=tlt-border|843x633px|right]]</th>
+
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>  
 +
[[File:Wifi interface security.png|border|class=tlt-border|866x272px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td style="border-bottom: 1px solid white>
+
         <td style="border-bottom: 1px solid white;>
Once you have saved the Wireless interface, a new window should pop-up. Configure it as following:
+
Switch to '''Wireless Security''' tab and do the following:
 
<ol>
 
<ol>
     <li>Select '''Protocol''' - Static.</li>
+
     <li>Select '''Encryption''' type.</li>
     <li>Enter a '''IPv4 address'''.</li>
+
     <li>Select '''Cipher''' type.</li>
     <li>Enter a '''IPv4 netmask'''.</li>
+
     <li>Enter '''Key'''.</li>
    <li>Enable '''DHCPv4'''.</li>
 
    <li>Enable '''DHCPv6'''.</li>
 
 
 
 
</ol>
 
</ol>
 +
Once done, '''Save & Apply changes'''.
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
 +
 +
 +
===New LAN interface===
 
----
 
----
 
<table class="nd-othertables_2">
 
<table class="nd-othertables_2">
 
     <tr>
 
     <tr>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>[[File:RutOS_Guest_Wifi_7.8_Lan_interface_new_firewall.png|border|class=tlt-border|843x633px|right]]</th>
+
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>[[File:Guest interface config.png|border|class=tlt-border|843x633px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td style="border-bottom: 1px solid white>
 
         <td style="border-bottom: 1px solid white>
Then move to Firewall Settings section:
+
Once you have saved the Wireless interface, a new window should pop-up. Configure it as following:
 
<ol>
 
<ol>
     <li>Expand '''Create / Assign firewall-zone''' menu.</li>
+
     <li>Select '''Protocol''' - Static. Confirm by clicking "SWITCH PROTOCOL".</li>
     <li>Add a new zone by clicking '''Add''' button</li>
+
    <li>Enter a '''IPv4 address'''.</li>
     <li>Add a new '''Guest zone''' zone.</li>
+
     <li>Enter a '''IPv4 netmask'''.</li>
 +
     <li>Enable '''DHCP server'''.</li>
 
</ol>
 
</ol>
 
'''Save & Apply changes''' when done.
 
'''Save & Apply changes''' when done.
Line 89: Line 87:
 
     </tr>
 
     </tr>
 
</table>
 
</table>
 +
 
===Firewall rules===
 
===Firewall rules===
 
----
 
----
Line 96: Line 95:
 
         <th width=270; style="border-bottom: 1px solid white;></th>
 
         <th width=270; style="border-bottom: 1px solid white;></th>
 
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>  
 
         <th width=950; style="border-bottom: 1px solid white;" rowspan=2>  
[[File:RutOS_Guest_Wifi_7.8_firewall_zone_edit_button.png|border|class=tlt-border|785x261px|right]]</th>
+
[[File:Firewall zone.png|border|class=tlt-border|785x261px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td style="border-bottom: 1px solid white;>
 
         <td style="border-bottom: 1px solid white;>
Navigate to '''Network → Firewall → General Settings'''. There edit a new '''Zone''' rule that we added in LAN interface configuration, by pressing '''Edit''' button. Then you will be forwarded to the configuration window.
+
Navigate to '''Network → Firewall → General Settings'''. There create a new '''Zone''' rule by pressing '''Add''' button. Then you will be forwarded to the configuration window.
 
<ol>
 
<ol>
 
     <li></li>
 
     <li></li>
Line 113: Line 112:
 
         <th width=220; style="border-bottom: 1px solid white;></th>
 
         <th width=220; style="border-bottom: 1px solid white;></th>
 
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>  
 
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>  
[[File:RutOS_Guest_Wifi_7.8_Lan_interface_zone_config.png|border|class=tlt-border|849x578px|right]]</th>
+
[[File:Firewall zone config.png|border|class=tlt-border|849x578px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 119: Line 118:
 
In the '''ZONE''' page, do the following:
 
In the '''ZONE''' page, do the following:
 
<ol>
 
<ol>
     <li>Change Input to '''Accept'''.</li>
+
     <li>Enter a custom '''Name'''.</li>
 +
    <li>Add new created ''"Guest"'' LAN to '''Covered networks'''.</li>
 
     <li>Select WAN interfaces for '''Allow forward to destination zones'''.</li>
 
     <li>Select WAN interfaces for '''Allow forward to destination zones'''.</li>
 +
    <li>Select WAN interfaces for '''Allow forward from destination zones'''.</li>
 
</ol>
 
</ol>
 
When done, '''Save & Apply changes'''
 
When done, '''Save & Apply changes'''
Line 133: Line 134:
 
         <th width=250; style="border-bottom: 1px solid white;></th>
 
         <th width=250; style="border-bottom: 1px solid white;></th>
 
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>  
 
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>  
[[File:RutOS_Guest_Wifi_7.8_firewall_traffic_rule_add.png|border|class=tlt-border|787x116px|right]]</th>
+
[[File:New traffic rule.png|border|class=tlt-border|787x116px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 141: Line 142:
 
     <li>Select '''Add new forward rule'''.</li>
 
     <li>Select '''Add new forward rule'''.</li>
 
     <li>Enter a custom '''Name'''.</li>
 
     <li>Enter a custom '''Name'''.</li>
     <li>Select ''"Guest_zone"'' for '''Source zone'''.</li>
+
     <li>Select ''"guest_zone"'' for '''Source zone'''.</li>
 
     <li>Select ''"lan"'' for '''Destination zone'''.</li>
 
     <li>Select ''"lan"'' for '''Destination zone'''.</li>
 
     <li>Click the '''Add''' button. Then you will be forwarded to the configuration window.</li>
 
     <li>Click the '''Add''' button. Then you will be forwarded to the configuration window.</li>
Line 154: Line 155:
 
         <th width=250; style="border-bottom: 1px solid white;></th>
 
         <th width=250; style="border-bottom: 1px solid white;></th>
 
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>  
 
         <th width=970; style="border-bottom: 1px solid white;" rowspan=2>  
[[File:RutOS_Guest_Wifi_7.8_firewall_traffic_rule_config.png|border|class=tlt-border|848x625px|right]]</th>
+
[[File:Traffic rule config.png|border|class=tlt-border|848x625px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 160: Line 161:
 
Do the following in the '''TRAFFIC RULES''' page:
 
Do the following in the '''TRAFFIC RULES''' page:
 
<ol>
 
<ol>
     <li>Choose Protocols from drop down menu '''UDP TCP'''.</li>
+
     <li>'''Enable''' instance.</li>
 
     <li>Change the '''Destination zone''' to ''"Device (input)"''.</li>
 
     <li>Change the '''Destination zone''' to ''"Device (input)"''.</li>
 
     <li>Enter the '''Destination port''' to reject. By default ports 22, 80, 443 are used to access the web user interface and SSH.</li>
 
     <li>Enter the '''Destination port''' to reject. By default ports 22, 80, 443 are used to access the web user interface and SSH.</li>
     <li>Change the '''Action''' to ''"Drop"''.</li>
+
     <li>Change the '''Action''' to ''"Reject"''.</li>
 
</ol>
 
</ol>
 
'''Save & Apply''' changes.
 
'''Save & Apply''' changes.
Line 169: Line 170:
 
     </tr>
 
     </tr>
 
</table>
 
</table>
===Alternative Firewall rules===
 
----
 
  
<table class="nd-othertables_2">
 
    <tr>
 
        <th width=270; style="border-bottom: 1px solid white;></th>
 
        <th width=950; style="border-bottom: 1px solid white;" rowspan=2>
 
[[File:RutOS_Guest_Wifi_7.8_firewall_zone_edit_button.png|border|class=tlt-border|785x261px|right]]</th>
 
    </tr>
 
    <tr>
 
        <td style="border-bottom: 1px solid white;>
 
If you wish to block all the device ports and only allow the user to access internet, then we will need to configure firewall rules alternatively. Navigate to '''Network → Firewall → General Settings'''. There edit a new '''Zone''' rule that we added in LAN interface configuration, by pressing '''Edit''' button. Then you will be forwarded to the configuration window.
 
<ol>
 
    <li></li>
 
</ol>
 
        </td>
 
    </tr>
 
</table>
 
----
 
<table class="nd-othertables_2">
 
    <tr>
 
        <th width=220; style="border-bottom: 1px solid white;></th>
 
        <th width=970; style="border-bottom: 1px solid white;" rowspan=2>
 
[[File:RutOS_Guest_Wifi_7.8_Lan_interface_zone_config_option_2.png|border|class=tlt-border|849x578px|right]]</th>
 
    </tr>
 
    <tr>
 
        <td style="border-bottom: 1px solid white;>
 
In the '''ZONE''' page, do the following:
 
<ol>
 
    <li>Select WAN interfaces for '''Allow forward to destination zones'''.</li>
 
</ol>
 
When done, '''Save & Apply changes'''
 
        </td>
 
    </tr>
 
</table>
 
 
----
 
 
<table class="nd-othertables_2">
 
    <tr>
 
        <th width=250; style="border-bottom: 1px solid white;></th>
 
        <th width=970; style="border-bottom: 1px solid white;" rowspan=2>
 
[[File:RutOS_Guest_Wifi_7.8_firewall_traffic_rule_add.png|border|class=tlt-border|787x116px|right]]</th>
 
    </tr>
 
    <tr>
 
        <td style="border-bottom: 1px solid white;>
 
In order to disable most of the devices access to the router from Guest's_WiFi network navigate to the '''Network → Firewall → Traffic Rules''' page and do the following:
 
<ol>
 
    <li>Select '''Add new forward rule'''.</li>
 
    <li>Enter a custom '''Name'''.</li>
 
    <li>Select ''"Guest_zone"'' for '''Source zone'''.</li>
 
    <li>Select ''"lan"'' for '''Destination zone'''.</li>
 
    <li>Click the '''Add''' button. Then you will be forwarded to the configuration window.</li>
 
</ol>
 
        </td>
 
    </tr>
 
</table>
 
 
----
 
<table class="nd-othertables_2">
 
    <tr>
 
        <th width=250; style="border-bottom: 1px solid white;></th>
 
        <th width=970; style="border-bottom: 1px solid white;" rowspan=2>
 
[[File:RutOS_Guest_Wifi_7.8_firewall_traffic_rule_config_option_2.png|border|class=tlt-border|848x625px|right]]</th>
 
    </tr>
 
    <tr>
 
        <td style="border-bottom: 1px solid white;>
 
Do the following in the '''TRAFFIC RULES''' page:
 
<ol>
 
    <li>Choose Protocols from drop down menu '''UDP TCP'''.</li>
 
    <li>Change the '''Destination zone''' to ''"Device (input)"''.</li>
 
    <li>Enter the '''Destination port''' to Accept. We will need to accept ports 67 68 in order for DHCP to work and 53 for routers DNS.</li>
 
    <li>Change the '''Action''' to ''"Accept"''.</li>
 
</ol>
 
'''Save & Apply''' changes.
 
        </td>
 
    </tr>
 
</table>
 
----
 
<table class="nd-othertables_2">
 
    <tr>
 
        <th width=250; style="border-bottom: 1px solid white;></th>
 
        <th width=970; style="border-bottom: 1px solid white;" rowspan=2>
 
[[File:Traffic_rule_move_up.gif|border|class=tlt-border|800x325px|right]]</th>
 
    </tr>
 
    <tr>
 
        <td style="border-bottom: 1px solid white;>
 
Then we will need to move up the traffic rule to the top, in order to be able to use these settings:
 
        </td>
 
    </tr>
 
</table>
 
 
==Results==
 
==Results==
 
If you've followed all the steps presented above, your configuration should be finished. If you are near a RUT, that is, in a wireless zone, turn on WiFi on your device and view the available networks. You should see the available SSID - "RUTX_WiFi_2G" and "Guest_WiFi". Select one of them and enter the appropriate WiFi password.
 
If you've followed all the steps presented above, your configuration should be finished. If you are near a RUT, that is, in a wireless zone, turn on WiFi on your device and view the available networks. You should see the available SSID - "RUTX_WiFi_2G" and "Guest_WiFi". Select one of them and enter the appropriate WiFi password.
Line 338: Line 249:
 
     </tr>
 
     </tr>
 
</table>
 
</table>
[[Category:Use cases]]
+
[[Category:Configuration Examples]]

Revision as of 15:38, 1 August 2023

Main Page > General Information > Configuration Examples > Use cases > How to set up a guest WiFi network

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

Introduction

Most of us are aware, that network security is extremely important. If your WiFi network is not properly secured, it makes you and all of your home or office resources vulnerable to a variety of security threats. To stay ahead of the curve, many companies and home users have guest WiFi. Unlike your regular WiFi network that you or your company members use, the guest WiFi network restricts what your guests can do in your network. It gives visitors access to the Internet connection, but nothing else making you or your company a lot more secure. This chapter is a guide on configuring a guest WiFi.

Configuring the router

Before you start configuring the router turn on "Advanced WebUI" mode. You can do that by clicking the "Basic" button under "Mode", which is located at the top-right corner of the WebUI.

Networking rutx manual webui basic advanced mode.gif


New WiFi AP


WiFi interfaces.png

Login to the router's WebUI, navigate to the Network → Wireless page. Click Add. You can use either, 2.4GHz or 5GHz WiFi. Then you will be forwarded to the configuration window.


Create new WiFi Interface.png

On General Setup tab do the following:

  1. Enable instance.
  2. Select mode Access Point.
  3. Enter a custom ESSID.
  4. Expand the drop-down menu Network.
  5. Create a new interface, enter a custom name Guest.

Wifi interface security.png

Switch to Wireless Security tab and do the following:

  1. Select Encryption type.
  2. Select Cipher type.
  3. Enter Key.

Once done, Save & Apply changes.


New LAN interface


Guest interface config.png

Once you have saved the Wireless interface, a new window should pop-up. Configure it as following:

  1. Select Protocol - Static. Confirm by clicking "SWITCH PROTOCOL".
  2. Enter a IPv4 address.
  3. Enter a IPv4 netmask.
  4. Enable DHCP server.

Save & Apply changes when done.

Firewall rules


Firewall zone.png

Navigate to Network → Firewall → General Settings. There create a new Zone rule by pressing Add button. Then you will be forwarded to the configuration window.


Firewall zone config.png

In the ZONE page, do the following:

  1. Enter a custom Name.
  2. Add new created "Guest" LAN to Covered networks.
  3. Select WAN interfaces for Allow forward to destination zones.
  4. Select WAN interfaces for Allow forward from destination zones.

When done, Save & Apply changes


New traffic rule.png

In order to disable WebUI or SSH access to the router from Guest's_WiFi network navigate to the Network → Firewall → Traffic Rules page and do the following:

  1. Select Add new forward rule.
  2. Enter a custom Name.
  3. Select "guest_zone" for Source zone.
  4. Select "lan" for Destination zone.
  5. Click the Add button. Then you will be forwarded to the configuration window.

Traffic rule config.png

Do the following in the TRAFFIC RULES page:

  1. Enable instance.
  2. Change the Destination zone to "Device (input)".
  3. Enter the Destination port to reject. By default ports 22, 80, 443 are used to access the web user interface and SSH.
  4. Change the Action to "Reject".

Save & Apply changes.

Results

If you've followed all the steps presented above, your configuration should be finished. If you are near a RUT, that is, in a wireless zone, turn on WiFi on your device and view the available networks. You should see the available SSID - "RUTX_WiFi_2G" and "Guest_WiFi". Select one of them and enter the appropriate WiFi password.


Networking rutos configuration examples guest wifi 14 v1.jpg

Wireless users connected to SSID: “RUTX_WIFI”, will be assign to “LAN”, and will get IP from main pool 192.168.1.0/24.


Networking rutos configuration examples guest wifi 13 v1.jpg

LAN users are able to access any data from pool 192.168.1.0/24. For example they can access Web UI.


Networking rutos configuration examples guest wifi 12 v2.jpg

Wireless users connected to SSID: “GUEST'S_WIFI”, will be assign to LAN “Guest”, and will get IP from new pool 10.10.10.0/24.


Networking rutos configuration examples guest wifi 11 v1.jpg

Guest hosts are unable to access any data from pool 192.168.1.0/24. And access to the routers Web UI or SSH is restricted.