Difference between revisions of "Configure VPN Server"

From Idrive
Jump to navigation Jump to search
Line 41: Line 41:
 
Add IP 0.0.0.0/0 in "Dst. Address:" box. In "Gateway" box add your ISP gateway or you can simply choose the interface where the main cable is plugged in.
 
Add IP 0.0.0.0/0 in "Dst. Address:" box. In "Gateway" box add your ISP gateway or you can simply choose the interface where the main cable is plugged in.
  
[[File:Mikrotik9.png|center]]
+
 
 +
[[File:Mikrotik9.png|1024px|center]]
 +
 
 +
 
 +
In order to create VPN server choose PPTP Server from PPP interface.
 +
 
 +
 
 +
[[File:Mikrotik11.png|1024px|center]]
 +
 
 +
 
 +
Add a name or leave default and click OK.
 +
 
 +
 
 +
[[File:Mikrotik12.png|1024px|center]]
 +
 
 +
 
 +
Now click on "Secrets" tab from PPP interface and add a new user.
 +
 
 +
 
 +
[[File:Mikrotik13.png|1024px|center]]
 +
 
 +
 
 +
Add user and password and choose service pptp from the dropdown.
 +
The "Local Address" and "Remote Address" must be diferent than your internet access IP pool.
 +
 
 +
Ex.:
 +
Local Address: 1.1.1.1
 +
Remote Address: 1.1.1.2
 +
 
 +
 
 +
[[File:Mikrotik14.png|1024px|center]]
 +
 
 +
 
 +
Now select EoIp Tunnel tab from Interfaces and add a new tunnel.
 +
 
 +
 
 +
[[File:Mikrotik15.png|1024px|center]]
 +
 
 +
 
 +
Add Local and Remote Address same as above and add "1" in the "Tunnel ID".
 +
 
 +
 
 +
[[File:Mikrotik16.png|1024px|center]]
 +
 
 +
 
 +
Add a new bridge from "Bridge" interface choose a name or leave default and click OK.
 +
 
 +
 
 +
[[File:Mikrotik17.png|1024px|center]]

Revision as of 07:43, 28 May 2013

Before start configure VPN server download the Configuration tool for RouterOS.

Run Winbox.exe and wait 5-10 sec. until the IP and MAC adress will apear.


Mikrotik1.png


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


Mikrotik2.png


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 have 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


We have to route IP for internet access.


Mikrotik6.png


Add IP 0.0.0.0/0 in "Dst. Address:" box. In "Gateway" box add your ISP gateway or you can simply choose the interface where the main cable is plugged in.


Mikrotik9.png


In order to create VPN server choose PPTP Server from PPP interface.


Mikrotik11.png


Add a name or leave default and click OK.


Mikrotik12.png


Now click on "Secrets" tab from PPP interface and add a new user.


Mikrotik13.png


Add user and password and choose service pptp from the dropdown. The "Local Address" and "Remote Address" must be diferent than your internet access IP pool.

Ex.: Local Address: 1.1.1.1 Remote Address: 1.1.1.2


Mikrotik14.png


Now select EoIp Tunnel tab from Interfaces and add a new tunnel.


Mikrotik15.png


Add Local and Remote Address same as above and add "1" in the "Tunnel ID".


Mikrotik16.png


Add a new bridge from "Bridge" interface choose a name or leave default and click OK.


Mikrotik17.png