There are two types of items in PPTP server configuration - static users and dynamic connections.
A dynamic connection can be established if the user database or the default-profile has its
local-address and remote-address set correctly. When static users are added, the default profile
may be left with its default values and only PPP user (in /ppp secret) should be configured. Note
that in both cases PPP users must be configured properly.
Property Description
client-address ( IP address ) - shows (cannot be set here) the IP address of the connected client
encoding ( text ) - encryption and encoding (if asymmetric, separated with '/') being used in this
connection
mtu ( integer ) - (cannot be set here) client's MTU
name ( name ) - interface name
uptime ( time ) - shows how long the client is connected
user ( name ) - the name of the user that is configured statically or added dynamically
Example
To add a static entry for ex1 user:
[admin@MikroTik] interface pptp-server> add user=ex1
[admin@MikroTik] interface pptp-server> print
Flags: X - disabled, D - dynamic, R - running
#
NAME
USER
MTU
CLIENT-ADDRESS
UPTIME
ENC...
0
DR <pptp-ex>
ex
1460
10.0.0.202
6m32s
none
1
pptp-in1
ex1
[admin@MikroTik] interface pptp-server>
In this example an already connected user ex is shown besides the one we just added.
PPTP Application Examples
Router-to-Router Secure Tunnel Example
The following is an example of connecting two Intranets using an encrypted PPTP tunnel over the
Internet.
Page 349 of 695
Copyright 1999-2007, MikroTik. All rights reserved. Mikrotik, RouterOS and RouterBOARD are trademarks of Mikrotikls SIA.
Other trademarks and registred trademarks mentioned herein are properties of their respective owners.