If what you want to do is setup a PPTP server for remote clients
to connect to your LAN, you would want something like this for
each mpd.links
entry:
#
# Act like a PPTP server allowing clients to connect
#
Pptp0:
set link type pptp
set pptp enable incoming
set pptp disable originate
You may also need to enable proxy-ARP on each interface if you're
assigning local Ethernet LAN addresses, as well as configuring
DNS and NBNS server information for client bundles using the
set ipcp dns
and set ipcp nbns
commands.
If instead you want to set up a peer-to-peer symmetrical
tunnelling arrangement (i.e., normal IP routing using PPP over PPTP),
you might want something like this (here 1.1.1.1
is the local IP address and 2.2.2.2
is the remote
IP address):
#
# Tunnelling PPP traffic over a PPTP connection with peer 2.2.2.2
#
Pptp1:
set link type pptp
set pptp self 1.1.1.1
set pptp peer 2.2.2.2
set pptp enable incoming originate
On the remote machine, you'd have the same entry with the
self
and peer
addresses reversed.