Configure VPN Server

From Idrive
Jump to navigation Jump to search

Mark Notes

To Do: set time and timezone set secure password / change user name?

<br\><br\>

Initial Configuration

Set up RB2011LS-IN Router for initial configuration

Connect to power

Connect cat 5 cable from Port ETH6 to the NIC for Idrive wireless (192.168.0.10)

<br\><br\>

Connect using Winbox

Mikrotik1.png

Download and install Winbox Configuration tool for RouterOS.

Run Winbox.exe or double click the icon on the desktop

Winbox icon.jpg

Wait 5-10 sec until the IP and MAC address will appear. (Default IP Address is 192.168.88.1)

Document the MAC address for entry into AdminCenter

Click on "Connect"

Log in is as admin / password is blank


<br\><br\><br\><br\>

Initial Log in

A pop-up window will appear and choose "Remove Configuration" otherwise the router will create a default configuration.


Mikrotik2.png

Setup using Restore configuration file (Recommended)

It is much easier to set the routers configuration using the backup/restore RouterOS function. This imports the standard idrive configuration from a .backup file. The only settings that will have to be changed after restore will be the internet connections settings.

Import the configuration using the current Idrive config file (

Set the specific internet settings for this customer and location


<br\><br\>

Setup using manual method

First step is to create a static IP for your internet connection.


Mikrotik3.png


Select "Addresses" from "IP" and click the plus sign.


Mikrotik4.png


We used IP 10.3.0.80 which is a local IP from the main router IP Pool and we have forwarded the 1723 port.


Mikrotik5.png


Route IP for internet access.


Mikrotik6.png


Add IP 0.0.0.0/0 in "Dst. Address:" box. In "Gateway" box add your gateway.


Mikrotik7.png


Select "Bridge" from the left menu and add new bridge.


Mikrotik8.png


From the same interface select "Ports" tab and add interfaces ether1 and ether2 to "bridge_internet"


Mikrotik9.png


Mikrotik10.png


Now repeat the step above and create a new bridge.

Make sure the "ARP" is disabled!


Mikrotik11.png


From the same interface click on "STP" tab, check "Protocol mode: rstp" and apply.


Mikrotik12.png


Select "Ports" tab from the "Bridge" interface and add new bridge port.

Select "ether3" and "bridge_tunnel" from the drop-down list.


Mikrotik13.png


Create a third bridge, "bridge_local" with "ARP" enabled and add MAC Address: 00:00:5E:80:01:01.

Select "STP" tab, check "Protocol mode: rstp" and apply.


Mikrotik14.png


Mikrotik15.png


Return to the IP->Address List interface and add "192.168.0.2/16" to "bridge_local".


Mikrotik16.png


Select "Profiles" tab from PPP interface add new profile.

From the "General" tab fill the new profile name and select "bridge_tunnel" from drop-down list.

Select "Protocols" tab and check "yes" from "Use Encryption".


Mikrotik17.png
Mikrotik18.png


From PPP interface select "Secrets" tab and create new secret.

Fill with the name and password and select the profile you have created above.


Mikrotik19.png


Select "SSTP Server" from PPP->Interface, check 1723 port, select "default-encryption" and uncheck "pap" and "chap" authentication.


Mikrotik20.png


If the VPN client is configured the connection will start automatically. If the VPN client is not configured, check Configure VPN Client.

To check active connection select PPP->Active Connection or Bridge->Ports.


Mikrotik22.png


Add the rest of interfaces to "bridge_local" in order to use the router in network.


Mikrotik21.png