Setup guide
PPTP Server Users
interface pptp-server
Description
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 P2P user (in /ppp secret) should be configured. Note
that in both cases P2P users must be configured properly.
Property Description
name (name) - interface name
user (name) - the name of the user that is configured statically or added dynamically
mtu (integer) - (cannot be set here) client's MTU
client-address (IP address) - shows (cannot be set here) the IP address of the connected client
uptime (time) - shows how long the client is connected
encoding (text) - encryption and encoding (if asymmetric, separated with '/') being used in this
connection
Example
To add a static entry for ex1 user:
[admin@Wandy] interface pptp-server> add user=ex1
[admin@Wandy] 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@Wandy] 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.
There are two routers in this example:
• [HomeOffice]
Interface LocalHomeOffice 10.150.2.254/24
Interface ToInternet 192.168.80.1/24
• [RemoteOffice]
Interface ToInternet 192.168.81.1/24
Interface LocalRemoteOffice 10.150.1.254/24
Each router is connected to a different ISP. One router can access another router through the