# # MPD configuration file # # Mpd as a PPTP server compatible with Microsoft Dial-Up Networking clients. # # We have a private office LAN numbered 192.168.1.0/24. The machine running # mpd is at 192.168.1.1, and has an externally visible address of # 270.283.113.190. # # We assign clients addresses in the 192.168.150.0/24 network, and route # it locally. The local interface for this network, 192.168.150.1, # is aliased onto 192.168.1.1. # # Each client uses a different bundle, each using a different link: this # configuration allows for 3 clients only, extend it if needed by adding # the corresponding bundles and links. See also the 'pptp*' link entry in # mpd.links. # # Renaud Waldura, August 2000 # default: load pptp_client0 load pptp_client1 load pptp_client2 pptp_client0: # create the bundle "vpn0" with link "pptp0" new -i ng0 vpn0 pptp0 # single link set bundle no multilink set iface no on-demand set iface idle 1800 # address assigned to client of this link set ipcp ranges 192.168.150.1/32 192.168.150.2/32 # we route this network set iface no proxy-arp set iface route 192.168.150.0/24 # primary and secondary DNS servers set ipcp dns 192.168.1.1 # primary and secondary WINS servers #set ipcp nbns XXX # do VJ compression set ipcp yes vjcomp # require Microsoft encryption set bundle yes crypt-reqd set ccp yes mppc set ccp accept mpp-e40 set ccp accept mpp-e128 #set ccp accept mpp-stateless # do not do Microsoft compression (we can't) set bundle no compression set ccp no mpp-compress pptp_client1: # create the bundle "vpn1" with link "pptp1" new -i ng1 vpn1 pptp1 # single link set bundle no multilink set iface no on-demand set iface idle 1800 # address assigned to client of this link set ipcp ranges 192.168.150.1/32 192.168.150.3/32 # we route this network set iface no proxy-arp set iface route 192.168.150.0/24 # primary and secondary DNS servers set ipcp dns 192.168.1.1 # primary and secondary WINS servers #set ipcp nbns XXX # do VJ compression set ipcp yes vjcomp # require Microsoft encryption set bundle yes crypt-reqd set ccp yes mppc set ccp accept mpp-e40 set ccp accept mpp-e128 #set ccp accept mpp-stateless # do not do Microsoft compression (we can't) set bundle no compression set ccp no mpp-compress pptp_client2: # create the bundle "vpn2" with link "pptp2" new -i ng2 vpn2 pptp2 # single link set bundle no multilink set iface no on-demand set iface idle 1800 # address assigned to client of this link set ipcp ranges 192.168.150.1/32 192.168.150.4/32 # we route this network set iface no proxy-arp set iface route 192.168.150.0/24 # primary and secondary DNS servers set ipcp dns 192.168.1.1 # primary and secondary WINS servers #set ipcp nbns XXX # do VJ compression set ipcp yes vjcomp # require Microsoft encryption set bundle yes crypt-reqd set ccp yes mppc set ccp accept mpp-e40 set ccp accept mpp-e128 #set ccp accept mpp-stateless # do not do Microsoft compression (we can't) set bundle no compression set ccp no mpp-compress