Tutorial Mikrotik VPN
Tutorial Mikrotik VPN
Tutorial Mikrotik VPN
(PPTP)
Summary
PPTP (Point to Point Tunnel Protocol) supports encrypted tunnels over IP. The MikroTik
The MikroTik RouterOS haw duty as a machine or machine – or, for assorted configurations, it
haw be the machine for whatever connections and machine for additional connections. For
example, the machine created beneath could enter to a Windows 2000 server, additional
Description
PPTP is a bonded delve for transporting IP reciprocation using PPP. PPTP encapsulates UPPP
in realistic lines that separate over IP. PPTP incorporates UPPP and MPPE (Microsoft Point to
Point Encryption) to attain encrypted links. The determine of this prescript is to attain
PPTP clients (clients are acquirable for and/or included in nearly every OSs including
Windows).
PPTP includes UPPP marker and business for apiece PPTP connection. Full marker and
MPPE 40bit RC4 and MPPE 128bit RC4 coding are supported.
PPTP reciprocation uses prescript opening 1723 and IP prescript GRE (Generic Routing
Authority (IANA). PPTP crapper be utilised with most firewalls and routers by sanctioning
reciprocation sure for prescript opening 1723 and prescript 47 reciprocation to be routed
IP connection. Please wager the Microsoft and RFC course at the modify of this country for
more information.
Property Description
mtu (integer; default: 1460) – Maximum Transmit Unit. The best continuance is the MTU of
the programme the delve is employed over attenuated by 40 (so, for 1500-byte ethernet
mru (integer; default: 1460) – Maximum Receive Unit. The best continuance is the MTU of
the programme the delve is employed over attenuated by 40 (so, for 1500-byte ethernet
user (string)- individual study to ingest when logging on to the far server
password (string; default: “”)- individual countersign to ingest when logging to the far server
profile (name; default: default) – strikingness to ingest when conjunctive to the far server
add-default-route (yes | no; default: no) – whether to ingest the machine which this machine
Example
To ordered up PPTP machine titled test2 using username john with countersign john to enter
Property Description
Statistics:
uptime (time) – unification instance displayed in days, hours, minutes, and seconds
encoding (string) – coding and coding (if asymmetric, distributed with ‘/’) existence utilised in
this connection
substantiation in progress
# Connected – self-explanatory
# Terminated – programme is not enabled or the additional lateral module not found a
connection
Example
uptime: 4h35s
status: Connected
enabled: no
mtu: 1460
mru: 1460
authentication: mschap2
default-profile: default
The PPTP machine supports oceanic connections from clients. For apiece underway
Property Description
enabled (yes | no; default: no) – defines whether PPTP machine is enabled or not
mtu (integer; default: 1460) – Maximum Transmit Unit. The best continuance is the MTU of
the programme the delve is employed over attenuated by 40 (so, for 1500-byte ethernet
mru (integer; default: 1460) – Maximum Receive Unit. The best continuance is the MTU of
the programme the delve is employed over attenuated by 40 (so, for 1500-byte ethernet
marker algorithm
Example
enabled: yes
mtu: 1460
mru: 1460
authentication: mschap2
default-profile: default
There are digit types of items in PPTP machine plan – noise users and impulsive connections.
has its local-address and remote-address ordered correctly. When noise users are added, the
choice strikingness haw be mitt with its choice values and exclusive P2P individual (in /ppp
secret) should be configured. Note that in both cases P2P users staleness be organized
properly.
Property Description
user – the study of the individual that is organized statically or additional dynamically
Statistics:
encoding (string) – coding and coding (if asymmetric, distributed with ‘/’) existence utilised in
this connection
Example
1 pptp-in1 ex1
In this warning an already adjoining individual ex is shown likewise the digit we meet added.
The mass is an warning of conjunctive digit Intranets using an encrypted PPTP delve over the
Internet.
There are digit routers in this example:
* [HomeOffice]
* [RemoteOffice]
Each router is adjoining to a assorted ISP. One router crapper admittance additional router
local-address=10.0.103.1 remote-address=10.0.103.2
Flags: X – disabled
0 pptp-in1 ex
enabled: yes
mtu: 1460
mru: 1460
authentication: mschap2
default-profile: default
\… password=lkjrht disabled=no
Thus, a PPTP delve is created between the routers. This delve is aforementioned an Ethernet
point-to-point unification between the routers with IP addresses 10.0.103.1 and 10.0.103.2
at apiece router. It enables ‘direct’ act between the routers over ordinal band networks.
To line the topical Intranets over the PPTP delve – add these routes:
On the PPTP machine it crapper instead be finished using routes constant of the individual
configuration:
Flags: X – disabled
Flags: X – disabled
local-address=10.0.103.1 remote-address=10.0.103.2
routes=”10.150.1.0/24 10.0.103.2 1″
ping interrupted
Test the unification finished the PPTP delve to the LocalHomeOffice interface:
ping interrupted
To denture a LAN over this bonded tunnel, gratify wager the warning in the ‘EoIP’ country of
the manual. To ordered the peak pace for reciprocation over this tunnel, gratify enquire the
‘Queues’ section.
The mass warning shows how to enter a machine to a far duty meshwork over PPTP
encrypted delve gift that machine an IP come from the aforementioned meshwork as the far
Please, enquire the individual drill on how to ordered up a PPTP machine with the code You
are using.
The router in this example:
* [RemoteOffice]
The machine machine crapper admittance the router finished the Internet.
local-address=10.150.1.254 remote-address=10.150.1.2
Flags: X – disabled
0 FromLaptop ex
enabled: yes
mtu: 1460
mru: 1460
authentication: mschap2
default-profile: default
ref: http://www.mikrotik.com/documentation//manual_2.7/Interface/PPTP.html