How to set up a guest WiFi network

From Teltonika Networks Wiki
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.08 firmware version .

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.

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.


New WiFi AP


Login to the router's WebUI, navigate to the Network → Wireless → SSIDs page. Click Add. Then you will be forwarded to the configuration window.


On General Setup tab do the following:

  1. Enable instance.
  2. Select mode Access Point.
  3. Enter a custom SSID.
  4. Enter a custom Password.
  5. Expand the drop-down menu Network.
  6. Create a new interface, by clicking Add
  7. Enter a custom name GuestLan.

Once done, Save & Apply changes.


New LAN interface


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

  1. Select Protocol - Static.
  2. Enter a IPv4 address.
  3. Enter a IPv4 netmask.
  4. Enable DHCPv4.
  5. Enable DHCPv6.

Then move to Firewall Settings section:

  1. Expand Create / Assign firewall-zone menu.
  2. Add a new zone by clicking Add button
  3. Add a new Guest zone zone.

Save & Apply changes when done.

Firewall rules


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.


In the ZONE page, do the following:

  1. Change Input to Accept.
  2. Select WAN interfaces for Allow forward to destination zones.

When done, Save & Apply changes


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.

Do the following in the TRAFFIC RULES page:

  1. Choose Protocols from drop down menu UDP TCP.
  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 "Drop".

Save & Apply changes.

Alternative Firewall rules


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.


In the ZONE page, do the following:

  1. Select WAN interfaces for Allow forward to destination zones.

When done, Save & Apply changes


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:

  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.

Do the following in the TRAFFIC RULES page:

  1. Choose Protocols from drop down menu UDP TCP.
  2. Change the Destination zone to "Device (input)".
  3. 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.
  4. Change the Action to "Accept".

Save & Apply changes.


Then we will need to move up the traffic rule to the top, in order to be able to use these settings:

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.


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


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


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.


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.