# Connecting Wi-Fi Keenetic Routers via SSTP

You can connect the user's home network to the VPN of the workplace network directly on the Keenetic router. (If you want to connect the office with Keenetic, follow the instructions).

---

All routers based on KeeneticOS 3.x.x are supported.

1\. Configure the users in SafeUTM and enable SSTP in **Users -&gt; VPN connections**.  
2\. Log in to the Keenetic web management interface: [http://my.keenetic.net](http://my.keenetic.net).  
3\. Install the **SSTP client** system component in the **System components options** menu.  
[![01.png](https://docs.safedns.com/uploads/images/gallery/2022-10/scaled-1680-/utFuxVGMGgcOlY2h-01.png)](https://docs.safedns.com/uploads/images/gallery/2022-10/utFuxVGMGgcOlY2h-01.png)

For more information about the settings, see [**Keenetic documentation**](https://help.keenetic.com/hc/en-us/articles/360000599979-SSTP-client).

4\. Create a connection: go to **Internet -&gt; Other Connections** and click **Add connection.  
[![02.png](https://docs.safedns.com/uploads/images/gallery/2022-10/scaled-1680-/GzwfBsVgN7uKnfyB-02.png)](https://docs.safedns.com/uploads/images/gallery/2022-10/GzwfBsVgN7uKnfyB-02.png)**

Don't check the box **Use it to access the Internet**.  
Enter the connection name, SSTP protocol, server address (**be** **sure to specify the port in the address separated by a colon**), username, and password.

5\. In **Network Rules -&gt; Routes** add routes to your workplace network.  
For example, if the office network is `10.0.0.0/8`, add the following route.  
[![03.png](https://docs.safedns.com/uploads/images/gallery/2022-10/scaled-1680-/IJsjMdJgSVx7Do5o-03.png)](https://docs.safedns.com/uploads/images/gallery/2022-10/IJsjMdJgSVx7Do5o-03.png)

Choose the VPN connection you created as **Interface** and check the box **Add automatically** so that the route is valid only when the VPN connection is active.

6\. Configure DNS for your local domain (for example, Active Directory) so that you can access resources (files and other servers) by DNS names.

In **Network Rules -&gt; Internet Filter -&gt; DNS Servers** specify the DNS server of your domain controller and the domain name.  
[![04.png](https://docs.safedns.com/uploads/images/gallery/2022-10/scaled-1680-/DNgLNj80fOa3qHp0-04.png)](https://docs.safedns.com/uploads/images/gallery/2022-10/DNgLNj80fOa3qHp0-04.png)

The setup is finished.

7\. Use the `ping` utility in the command line to check communication and routing.

`nslookup` - to check the local names resolution of the working network.

If the VPN works, but there is no connection to some resources (for example, file or RDP), use the instructions to diagnose problems.