How to set up OpenVPN on Keenetic router
OpenVPN client and server
Open your router’s web interface. To do that, open 192.168.1.1 or my.keenetic.net in your browser. Type your router’s web interface login and password (you may find them on the router’s back label stuck on the bottom panel of the device). Go to « General settings ». Tap « Component options ». Find «OpenVPN client and server» and install it. During the installation process, your internet connection may temporarily disappear.
Setting up a configuration file
Get the .ovpn configuration file for the location you need from the BlancVPN Telegram bot or your BlancVPN personal account : Telegram bot . Enter /start and then click on « Install VPN » → choose the location required → « OpenVPN ». When the bot sends you the file, download it. Personal account . Choose the location , then « Other protocols » → « OpenVPN ». Download the file.
Open the file in any text editor app. You may use such apps as TextEdit, Windows Notepador Notepad++ . To do this, right-click on the file and choose « Open with » → your text editor . Find the line auth-user-pass
and delete it. Instead of the deleted line, type your login and password. You have got them together with the configuration file: <auth-user-pass> blancvpn 4815162342 </auth-user-pass>
The first line (for example, blancvpn) is your login. The second line (for example, 4815162342) is your password. Select the entire text (for example, by pressing Ctrl+A
) and copy it ( Ctrl+C
).
Setting up VPN on Keenetic
Adding a VPN configuration:
Open your router’s web interface. To do that, open 192.168.1.1 or my.keenetic.net in your browser. Type your router’s web interface login and password (you may find them on the router’s back label stuck on the bottom panel of the device). Go to « Other connections » → « VPN-connections ». Tap « Add connection ». Among « VPN Connection Settings » in the field « Type (protocol) » choose « OpenVPN ». Go to the « OpenVPN configuration » field and paste the previously copied text ( Ctrl+V
) Tick «Obtain routes from the remote side» and « Use for accessing the internet ». Save the connection and turn it on .
Go to the «Connection priorities» page
Customizing VPN priorities for all connected devices
Go to « Connection priorities ». Move the VPN connection so that it is situated above the provider connection . Save changes. On the same page tap on « +Add policy ». Give it any name and tap on « ОК ». Add to the created policy your VPN connection only . Save changes. Go to « Policy bindings ». Add your devices , including the « Home segment », to the policy you have created. Now you may turn the VPN connection on and off. To do that, toggle the switch on the « Other connections » → « VPN-connections » page accordingly. When connected, check , whether your IP address has changed. To do this, open our website blancvpn.com and check the panel on the top. Your new IP address and location are displayed there.
Customizing VPN priorities for certain devices
Go to « Connection priorities ». For the « Default policy », leave the provider connection above the VPN connection . In the VPN connection policy (the one created in step 4 previously), place VPN as a priority. If the provider connection is active, deactivate it. Go to « Policy bindings ». Leave all the devices in the access policy for the « Default policy ». Add to a VPN connection policy the devices you want to be connected to the VPN. If a laptop is the only device connected to the VPN, the connection policy settings will look like this:
Advice 1 . If your router routes the traffic through a VPN, there is no need to connect separate devices to the VPN, when they are connected to the router. Advice 2 . If after the router’s VPN setting up some blocked websites still do not load, change the DNS connection to 8.8.8.8 . To do so, go to « Other connections » → « Show advanced settings ». Choose the VPN connection, edit the «DNS 1» line, and save changes.
All that’s left is to check that everything works: